General question about Debian Performance
Hello Everyone,
I just have a couple of questions. I have a number of distros dual booting on my desktop, one of them being Debian Etch. The others are PCLinuxOS, Fedora 9, and Ubuntu Hardy (as well as windows XP,) For a number of weeks I haven't booted into Debian as I was doing some projects in Ubuntu and Fedora. Today I booted into Debian, and there were 51 updates. One of them was the same kernel that I have installed (2.6.18.6-i486.) I was just wondering why there would be an update to the same kernel. The update of all the packages went fine, but I was informed that a number modules would need to be rebuilt. Was there a patch to this kernel that was necessary for all systems? Also, since I have not been using Debian for a while, I was wondering what it is that makes Debian so much faster and smoother to run on the same hardware? I have virtually the same software installed on all of the distros mentioned above, including Debian, but the computer runs cooler, much faster and generally smoother all the way around. I remember this also being true the first time I tried Debian about three years ago. I use all of these distros for different purposes but none of them run as quickly as Deb. As a matter of fact, Ubuntu stutters sometimes on this computer, when Debian just flies. Does anyone know an easy answer as to why the Debian build is so fast? Just interested for future reference in projects I am considering. Thanks in advance, Bob |
Quote:
|
I have noticed this also. I have assumed that it was because Debian is "no frills". But Arch and Slackware are also pitched as no-frills distros and they are slower.
I'd like to see generic answers to this---ie what are the major factors that influence speed of a Linux installation? |
Quote:
pixellany: I actually did a boot time test, measured from selected at Grub to login: Fedora: 33 seconds Ubuntu: 41 seconds PCLinux 28 seconds WinXP 34 seconds Debian 16 seconds |
Quote:
|
Yes, I know that is the case, particularly in Ubuntu (not my favorite distro right now). I believe in the case of Fedora the default SELinux installation really slows things down. I got a reasonably good speed increase when I totally disabled it. When I did my boot up test, I removed the splash screens on all of them (except Windows, of course, because I couldn't) so that I nothing but text scrolling across the screen. PCLinux is pretty quick, but no where near as quick as Debian.
Bob |
Just for grins, you CAN disable the Splash screen in Windows XP if you want.
You could also get to see the drivers etc loading in windows, similar to a Linux boot with no splash. http://windowsxp.mvps.org/nosplash.htm |
That would be interesting. How would one do that?
Bob |
One reason that Debian does so well is that it has a kernel that is specifically built for each architecture on which it runs. Another reason is that if you don't add a bunch of junk to a default Debian instalation, the base software is relatively lean and it does not start up too many services.
With that in mind, I did formerly have a Debian system set up, based on Debian Etch, and I added a lot of software to it. While it still ran relatively well, a more modest sized Debian derivative distribution that does not have a lot of extras would run better. Examples: SimplyMEPIS runs very well, one of the best moderate sized simple desktop systems, based on Debian. DreamLinux has also run very well in the past. All that said, a simple, no frills Debian system is one of the best systems you can have. Debian derived systems can be very good too. My two favorites in this category are sidux for a Debian Sid, cutting edge system that actually works, and SimplyMEPIS for a basic, stable system that you can count on to work. One of the even smaller SimplyMEPIS derivatives, which grabs some of the smallest and best from MEPIS, and hence from Debian itself is AntiX. You will find it to be a fast and faithful Debian implementation as well. If you have old hardware, look into AntiX. You will find that Debian feel to it. |
Quote:
I have more research to do.....;) (For example, my test was on a laptop) |
Is comparing bootup times really worth anything? I mean as a true measurement of speed?
|
Quote:
Code:
debian32:~$ infobash Code:
debian32:~/super_pi$ sh super_pi 20 Code:
debian64:~$ infobash -v2 0 At any rate attempting head-to-head comparisons of various systems has generally given me a headache, and unsatisfying conclusions. |
Quote:
I also instinctively believe that startup time and typical application loading time are correlated. No proof, however. |
Arch Linux 2008.04 RC, with kdemod (kdebase only):
23 seconds 20 seconds when the network daemon is disabled (it was looking for wireless which is not yet configured) |
Quote:
However, for a non-expert like me, there is a trade off. A case in point is the experience I had getting Linux installed on a new laptop I purchased about a month ago. I tried more than a dozen live distros trying to find one that would recognize and enable the sound and wireless in this machine. Ubuntu was the ONLY one that would recognize all the hardware and get me running right "out of the box". But, it is slow and buggy on this dual core laptop with 2GB memory. There is no doubt in my mind that Debian would have been a much better choice to run on this higher spec laptop, but I know it would have taken me ages to get all the hardware running, if I ever did. So, I put up with the bloat and occassional freeze because everything just works. The same is true about Fedora 9 on another laptop, though it is much zippier than Ubuntu. I guess the sum total of what I am saying is that most of us just accept the bloat that Debian doesn't have to get our hardware working with the least amount of fuss. Bob |
All times are GMT -5. The time now is 09:07 AM. |