Debian 10 vs Debian 8 performance
2 Attachment(s)
Dear all,
Recently we are trying to update our system from Debian8 to Debian10, and then found out that the performance of the Debian10 seems like not as good as Debian 8. For example, we tried to open mplayer at both Debian8 and Debian10. At Debian 8, it tooks around 1 second to open the player, but at Debian 10 it tooks around 4 seconds. We done some debugging by strace at both OS. Found out that for Debian10, it seek and read the library files multiple time at the same location. Not sure why this is happening. Attach the log from strace for both Debian8 and Debian10. Is there any reason why Debian10 is behaving such way? Any way i can boost up the performance of the Debian10? Thank you |
Quote:
Anyhow, mplayer has been superceded by mpv on modern distros. |
Everytime when start run mplayer will takes 4 second.
Same thing happen to mpv as well. I see multiple read and lseek when load library Thank you |
Generally newer version require somewhat faster CPU/RAM to obtain the same performance as the older distro you use....
Imho this is a normal consequence/behavior. At a certain moment your hardware will even be too old to run the latest version of Debian. Luckily nowadays new hardware is so fast that it will run many years with newer versions without any problem. On older hardware I often switch to lighter Debian based distribution, like Bunsenlabs or MX-Linux. They are supported very well as they rely on the Debian updates. For a lot of common things (office, mail, surfing) that do not need advanced/the latest hardware, this work perfect. |
I do understand that newer debian might run heavier as compared to older debian version. However, I am just confuse that why the strace shows so many read and seek same location. It seems not normal. I think this is something that can be avoided and get faster performance.
Thank you. |
Quote:
I find it hard to believe that you have some ARM device that dual boots Debian 8 and 10. Please explain how you made the comparison. Other factors might be playing into the effect you're seeing. |
Hi Ondoho,
We do not do dual boot. Our machine boots on SD Card. We do the comparison by using two different SD Cards. The first SD Card runs on Debian 8. The second SD Card is Debian 10. The second SD Card's Debian 10 is upgraded from the same image (Debian 8) of the first SD Card. We do the comparison by inserting either one of the SD Card at a time to the same machine. Thank you. |
SD cards may be bad for your speed.... SSD's, certainly small ones are new around 20 euros, so are so cheap why fizzle with SD cards?
Price impression: https://tweakers.net/solid-state-dri...iZwXmaekpVBLQA And SD cards are quite unreliable with respect to so many write actions in time. It may shorten the life time of this SD card very much. Now I understand your problem much better.... my advice: Avoid SD cards as much as possible for such a use. |
Quote:
To get a fairer comparison of performance it may be better to have a new install of Debian 10 from the latest Debian 10 .iso file. |
Quote:
|
^ Yeah, esp. how did you upgrade, from 8 to 9, and then from 9 to 10? No testing repos involved? Followed debian's own instructions?
Quote:
I know not exactly what that small snip of an strace signifies. All I see is mplayer is accessing some library libtinfo.so.5 on Deb8, and libtinfo.so.6 on Deb10. Presumably when it's in the process of opening the same identical video file? And on Deb10, that takes so much longer, like it's multiple accesses instead of just one? ... I had a look under /lib: Code:
ls -l libtinfo* Also, both files belong to ncurses. mpv does not depend on ncurses, so your statement Quote:
|
Quote:
Ubuntu 20.04: Code:
$ ls -1hs /usr/lib/x86_64-linux-gnu/libtinfo.so.[56].* Code:
168K /lib/x86_64-linux-gnu/libtinfo.so.5.9 |
I remember reading somewhere that "mplayer code is a mess, carrying decades of cruft".
Maybe it's possible to call mplayer "without ncurses"? mpv has an option like that, sth like '--no-terminal-controls'. |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 11:55 PM. |