LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-24-2009, 09:45 AM   #16
BigglesPiP
LQ Newbie
 
Registered: Nov 2008
Distribution: Debian Lenny w/ KDE 3
Posts: 23

Original Poster
Rep: Reputation: 15
Wink


Quote:
Originally Posted by jlinkels View Post
This was not trying to find a rant on Windows, I am seriously convinced that the slowness of Windows is caused by the filling up of the registry. I think we agree that a Windows machine get slower over time, especially if more software is installed, and that it feels like new when we do a clean install.

If I use regedit to search for some key, it takes *seconds* on a fast machine to search thru a registry of a few megabytes. That fits in the assumption that the registry is slow to use. If it is just a bad implementation of the regedit search function, I wonder why MS has not been abale to fix it since 1995.

In Linux, no matter how many packages I have installed (and on some machines that is QUITE a lot) it stays fast as ever.

If I can find an good and true explanation for Windows' degradation over time other than the registry, I will use it in the future. I like a good rant too, but dislike telling untruth.

jlinkels
THe reason it takes a long time to search the registry is exactly that, you're "searching" for that string in every key.

When a Program wants to look up a setting it says "The Key I want is HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Explorer\Drive_letters", or something like that, the registry finds it in the index, and plucks it out in a jiffi.

On linux, the program says "My settings are in /home/yourname/.vimrc", the OS looks for it in the file-system index (bigger than a registry index), and gives the program its filehandle.

The reason windows slows down is because of all the crap that ends up running on it at boot, I have gotten very good at removing this stuff. And my Windows box boots in almost the same time as my linux box, even though the Windows box is running an FTP server, a media server, A file server, an ssh server in cygwin, and an HTTP server. The linux laptop runs a samba file server and no more. I've had this XP install for 3 years now, through 2 different RAID controllers.

I still prefer Linux though, and if my games worked on it, my PC would run a nice Linux Distro.

Last edited by BigglesPiP; 01-24-2009 at 09:47 AM.
 
Old 01-24-2009, 10:12 AM   #17
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
I should have left the W-word out.

Do we agree that Linux boxes do not get slower if you have [too] many packages installed? I mean mainly regular packages, not all that stuff that fills up the space next to the clock at the taskbar.

jlinkels
 
Old 01-24-2009, 10:59 AM   #18
BigglesPiP
LQ Newbie
 
Registered: Nov 2008
Distribution: Debian Lenny w/ KDE 3
Posts: 23

Original Poster
Rep: Reputation: 15
Yes linux doesn't slow down. Yes, Windows does.

But the registry has nothing to do with it. I'm a multi-platform guy and I recognise the merits of all my OSs. I won't stand for bad science.

Last edited by BigglesPiP; 01-24-2009 at 11:00 AM.
 
Old 01-24-2009, 11:22 AM   #19
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,886
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Linux does not get slower with many packages installed. I have had as few as 800 packages and as many as 2500 installed. There was absolutely no difference in how the system and apps ran.

The slow down come from having tons of processes running. Just look at a default Ubuntu or Suse install they typically have around 140+ processes that start at boot, While distros like Arch or Debian that are known to be faster typically only have around 60 or so, I have seen a Debian install running openbox only have 48 processes running.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Lies, Damn Lies, and Retail Linux LXer Syndicated Linux News 0 09-11-2008 10:50 PM
LXer: Lies, Damn Lies, and Steve Ballmer's Latest LXer Syndicated Linux News 0 03-15-2008 12:41 PM
Significant change caused by apt-get-autoremove, new package, or full disk- which? sonichedgehog Debian 0 02-06-2008 06:36 PM
"apt-get autoremove" in Debian Etch/Sid available? deepclutch Debian 1 12-27-2006 09:20 AM
LXer: Lies, damned lies and US-CERT statistics LXer Syndicated Linux News 0 01-09-2006 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration