New Way To Grade Decay of Computer Installations 561
skojt writes: "I saw this link in Dr Dobb's Journal (the paper edition) about the
behaviour of a slowly decaying computer installation. It refers to a Windows installation, but as the author writes, 'But there will shortly be ports to Linux, Mac OS X, and other Unices; we are confident these OSes are just as prone.'"
Decayed Windows Installation? (Score:5, Funny)
Re:Decayed Windows Installation? (Score:2, Funny)
Just graph the fragmention .... (Score:2)
which brings it upto speedish again.
all in all the registry as an idea isn't too bad. but like every database it needs tuning and maintaining.
Re: Just graph the fragmention .... (Score:2)
So, let's see: if it gets corrupted, you are in big trouble, applications like regedit take forever to search through it, and it needs regular tuning and maintenance. And as a system manager, I have a hell of a time trying to express simple concepts like "take the configuration of sshd from this machine and put it on that other machine" with the registry. So, what again is "not too bad" about it? I can't think of one feature resulting from putting everything into a single database that I as a user or system manager would care about.
Re: Just graph the fragmention .... (Score:3, Informative)
- All the eggs in one basket: With
- Opacity of binary config files: With a text config file you can go look at the files reported to be damaged, and it's pretty obvious if they're corrupt; they'd be truncated or garbled. Filesystem corruption happens a sector at a time. What can you do with the registry assuming the system even boots up.
Re:Decayed Windows Installation? (Score:2)
My registery was at 50k entries just in the user programs area of it, ick. I had to reformat at around that point, I was at the "can just barly boot into 800x600 16 color mode" stage that the article mentions. . .
Luckily a simple Win2K install overtop fixed everything.
But yah, machines do get a bit cruddy, admitidly it was kinda my own fault for, err, installing a few hundred *cough* *cough* applications on that particular machine, though it was NOT my fault that not all of them had decently working uninstall programs.
All the darned spyware doesn't help either, that stuff doesn't
Then there are the demo programs that purposly leave parts of themselves behind in the registery when uninstalled just to make sure that you do not do the whole entire "Uninstall 30day trial, reinstall, use for 30 more days" thing. . . . Ick.
Re:Decayed Windows Installation? (Score:3, Informative)
Re:Decayed Windows Installation? (Score:3, Funny)
1. Take out any peripherals you don't need (ie - Sound Card, NIC, Modem, CD-ROM, Floppy Drive). Less drivers to install means windows doesn't have to think too much.
2. Use WordPad instead of Word. Or better yet, use a pen and paper, it'll lessen the likelyhood of Windows crashing.
3. Use a pen and paper instead of Excel.
4. Use transparencies instead of Powerpoint.
5. You shouldn't need FrontPage since you shouldn't even connect to the Internet. See Rule 7.
6. Don't install anything after a fresh install of Windows.
7. Never connect to the Internet. Don't let Windows phone home so it can download more bugs.
8. Reboot every 30 min.
9. Reformat and re-install often. Don't bother paying Microsoft support to tell you to re-install. I'm telling you for free.
10. Leave your computer off, unplug it, and put it back into the box it came in. This will reduce the frequency of unexpected errors generated by Windows.
Windows? Try Linux... (Score:2, Interesting)
Re:Windows? Try Linux... (Score:2, Informative)
If you use rpm, then use checkinstall, it will generate rpms out of tar.gz easily, you run it instead of "make install"
Dependancy hell perhaps but... (Score:3, Informative)
I've found in my Linux experience that if I try be experimental and cutting edge, I end up, eventually, getting into situations where it becomes a major nightmare to upgrade. On the other hand, if I leave my system relatively stock, tools like red-carpet, up2date, or apt-get, do a pretty damn good job of hiding the dependancy hell from me.
All things considered, I'd rather have it become a pain to install piece of software then to have it be easy and slowly cause my system to become unusable for no apparent reason.
Re:Windows? Try Linux... (Score:2)
Windows decays in a matter of days, hours sometimes with little more than turning the machine on and off.
Re:Windows? Try Linux...or learning a little (Score:4, Informative)
I have lived with 10GB for two years now just by pruning cruft whenever I get less than 300MB free. I would love to spend $100 on 80GB, but that would only lead to more cruft.
Linux/Unix does hold one bit over Windows, there is no single directory that becomes crufted. (Please
Face it, unless you and I are willing to spend many hours pruning the cruft on a regular basis, it is often easier to delete and rebuild. Oh yeah
Bad registry...evil registry...corrupted registry...
Re:Windows? Try Linux... (Score:3, Interesting)
I really am glad to see Gentoo starting to implement a similar system. Having that ports tree enables me to keep my system up to date, without lingering dependencies, and without having to go racing out to buy the latest CD.
Personally, I think the distros like the fact that RPM is such a piece of crap as it ensures that buying a new CD is FAR easier than just upgrading what you have from the Net.
Slashdot Effect (Score:3, Funny)
Re:Slashdot Effect (Score:2)
Dr. Dobb's Journal August 2002
Verity is the pseudonym of a programmer based in the UK. She can be contacted at VerityStob@ddj.com.
Verity Stob has developed a new tool that will help you make rapid diagnoses of sick PCs. A rolling computer gathers "cruft." When you spot a class interface that is no longer used by any client, but that nobody dare delete, that's cruft. It is also the word "seperate," added to a spellchecker's private dictionary in a moment of careless haste, and now waiting for a suitably important document. Cruft is the cruel corruption and confusion inevitably wrought by time upon all petty efforts of humankind. There.
At Laboratoires Stob, we have been working on the cruft crisis for a while. Recalling the maxim "to control a problem you must first measure it," we have devised a suitable metric, an index of cruftidity. Our first version, presented below, is based on a typical PC installation running Windows 2000. But there will shortly be ports to Linux, Mac OS X, and other Unices; we are confident these OSes are just as prone.
We would like to acknowledge our debt, in the construction of this instrument, to Rear- Admiral Sir Francis Beaufort. His 1805 scale of windspeeds ("Insurance Claim Force 8. Description on land: Tile blown off roof falls onto litigious neighbour's Toyota Shiny") is as valid and useful today as it ever was. Enough preamble.
Cruft Force 0. Virgin. Description: The "Connect to the Internet" shortcut is still on the desktop, and the "How to use Windows" dialog appears at logon. Menu animations and the various event-based sound effects -- even the dreaded Microsoft Sound -- seem cheerful and amusing. Likewise, a clandestine installation of the Blue Screen Of Death screensaver (complete with simulated reboot, natch) from the Sysinternals web site is hilarious. Compilers run crisply, and report only sensible, easily resolved errors. There are just nine directories off C:\.
Filled with the enthusiasm that goes with having a brand new machine, the user resolves to stick to the new-fangled security-conscious temp directory buried deep somewhere below Documents and Settings.
Cruft Force 1. New. Description: User has taken time to rename cutesy desktop icons incorporating the first person singular possessive pronoun.
Twice, the mouse cursor has done that poltergeist trick where, with the actual mouse stationary, it drifts three inches due east and then stops. For no reason at all. Works fine afterwards though. Brrrrrrr.
Cruft Force 2. Comfortable. Description: User has now got around to resetting Explorer so that "web content in folders" is suppressed. Something has made a C:\TEMP directory in the proper place unasked, for which mercy the user guiltily feels grateful.
A strange entry is found in the System event log: MRxSmb: The redirector was unable to initialise security context or query context attributes. Assiduous googling of the key phrases, up web site and down newsgroup, establishes that, although many have wondered, nobody knows what this means.
Cruft Force 3. Lived-in. Description: One time in seven when the user starts Word or other Office 2000 app, instead of running, it pretends it is installing itself for the first time and starts a setup program.
Directory count in C:\ up to 17, and something has pooed a Paradox lock control file there, too.
Cruft Force 4. Middle-aged. Description: Amount of time from screen showing "real" Windows background to the logon box appearing is >30 seconds. Sometimes cannot "browse" other machines on LAN.
Get first real BSOD. Uninstall jokey screen saver, replace with SETI.
An extra disk of huge capacity has been installed. CD-ROM moves from drive F: to drive [:
Cruft Force 5. Worn out. Description: Some time after bootup, always get a dialog "A service has failed to start - BLT300." What is BLT300? Nobody knows. Although one can manually remove/disable this service, it always reappears two or three reboots later.
If one double-clicks a document icon, Word takes 4 minutes 30 seconds to start up. But it still works fine if started as a program. Somebody opines that this is due to misconfigured DDE. Or the Mars-Jupiter cusp.
Cruft Force 6. Limping. Description: [Delphi|Visual Basic|Java] suddenly remembers a trial shareware component -- deleted six months ago because it was rubbish -- and refuses to compile anything until it is reinstated.
"Web content in folders" Explorer setting switches itself back on unbidden. "Setup" programs start crashing while unpacking their own decompression DLLs.
Cruft Force 7. Wounded. Description: No longer able to logon using original account as the system freezes, so must logon as "Verity2" or similar.
There are now nine items in BOOT.INI: the original W2K starter, a brace of two- entries-each NT4s (one Turkish), a Windows 98, and three assorted Linuxen. Left to start up by itself, the machine chooses a broken installation of SUSE and halts with a kernel panic.
Cruft Force 8. Decrepit. Description: A virus checker is installed at the insistence of IT. This actually improves performance, apparently violating Newton's laws.
Blue Screens Of Death are served daily. The SETI screen saver, like ET himself, encounters difficulty calling home and despairing during an overnight run creates 312 copies of its icon in an (impressively expanded) system tray that fills half the screen.
Successful connections to the LAN are very rare.
Cruft Force 9. Putrefaction. Description: Can only see the 32-GB D:\ partition -- the one which has all the source code on it -- at every third boot. Directory count in C:\ up to 93, partly because some [one/thing] has put a complete (but non- working) installation of the Eudora e-mail client in the root.
Starting Control Panel shows rolling torch animation. The applet icons never appear.
Cruft Force 10.Expiry. Description: Machine only runs in Safe mode at 16-color 800×600, and even then for about a minute and a half before BSODing. Attempts to start an app are rewarded with a dialog "No font list found."
Ordinary dodges, such as reformatting the hard disk(s) and starting again, are ineffective. Cruft has soaked into the very fabric of the machine, and it should be disposed of safely at a government-approved facility. There it will be encased in cruft-resistant glass and buried in a residential district.
radioactive windows (Score:4, Funny)
Re:radioactive windows (Score:3, Funny)
no karma whoring...here's the story (Score:2, Redundant)
Verity is the pseudonym of a programmer based in the UK. She can be contacted at VerityStob@ddj.com.
Verity Stob has developed a new tool that will help you make rapid diagnoses of sick PCs. A rolling computer gathers "cruft." When you spot a class interface that is no longer used by any client, but that nobody dare delete, that's cruft. It is also the word "seperate," added to a spellchecker's private dictionary in a moment of careless haste, and now waiting for a suitably important document. Cruft is the cruel corruption and confusion inevitably wrought by time upon all petty efforts of humankind. There.
At Laboratoires Stob, we have been working on the cruft crisis for a while. Recalling the maxim "to control a problem you must first measure it," we have devised a suitable metric, an index of cruftidity. Our first version, presented below, is based on a typical PC installation running Windows 2000. But there will shortly be ports to Linux, Mac OS X, and other Unices; we are confident these OSes are just as prone.
We would like to acknowledge our debt, in the construction of this instrument, to Rear-Admiral Sir Francis Beaufort. His 1805 scale of windspeeds ("Insurance Claim Force 8. Description on land: Tile blown off roof falls onto litigious neighbour's Toyota Shiny") is as valid and useful today as it ever was. Enough preamble.
Cruft Force 0. Virgin. Description: The "Connect to the Internet" shortcut is still on the desktop, and the "How to use Windows" dialog appears at logon. Menu animations and the various event-based sound effects -- even the dreaded Microsoft Sound -- seem cheerful and amusing. Likewise, a clandestine installation of the Blue Screen Of Death screensaver (complete with simulated reboot, natch) from the Sysinternals web site is hilarious. Compilers run crisply, and report only sensible, easily resolved errors. There are just nine directories off C:\.
Filled with the enthusiasm that goes with having a brand new machine, the user resolves to stick to the new-fangled security-conscious temp directory buried deep somewhere below Documents and Settings.
Cruft Force 1. New. Description: User has taken time to rename cutesy desktop icons incorporating the first person singular possessive pronoun.
Twice, the mouse cursor has done that poltergeist trick where, with the actual mouse stationary, it drifts three inches due east and then stops. For no reason at all. Works fine afterwards though. Brrrrrrr.
Cruft Force 2. Comfortable. Description: User has now got around to resetting Explorer so that "web content in folders" is suppressed. Something has made a C:\TEMP directory in the proper place unasked, for which mercy the user guiltily feels grateful.
A strange entry is found in the System event log: MRxSmb: The redirector was unable to initialise security context or query context attributes. Assiduous googling of the key phrases, up web site and down newsgroup, establishes that, although many have wondered, nobody knows what this means.
Cruft Force 3. Lived-in. Description: One time in seven when the user starts Word or other Office 2000 app, instead of running, it pretends it is installing itself for the first time and starts a setup program.
Directory count in C:\ up to 17, and something has pooed a Paradox lock control file there, too.
Cruft Force 4. Middle-aged. Description: Amount of time from screen showing "real" Windows background to the logon box appearing is >30 seconds. Sometimes cannot "browse" other machines on LAN.
Get first real BSOD. Uninstall jokey screen saver, replace with SETI.
An extra disk of huge capacity has been installed. CD-ROM moves from drive F: to drive [:
Cruft Force 5. Worn out. Description: Some time after bootup, always get a dialog "A service has failed to start - BLT300." What is BLT300? Nobody knows. Although one can manually remove/disable this service, it always reappears two or three reboots later.
If one double-clicks a document icon, Word takes 4 minutes 30 seconds to start up. But it still works fine if started as a program. Somebody opines that this is due to misconfigured DDE. Or the Mars-Jupiter cusp.
Cruft Force 6. Limping. Description: [Delphi|Visual Basic|Java] suddenly remembers a trial shareware component -- deleted six months ago because it was rubbish -- and refuses to compile anything until it is reinstated.
"Web content in folders" Explorer setting switches itself back on unbidden. "Setup" programs start crashing while unpacking their own decompression DLLs.
Cruft Force 7. Wounded. Description: No longer able to logon using original account as the system freezes, so must logon as "Verity2" or similar.
There are now nine items in BOOT.INI: the original W2K starter, a brace of two-entries-each NT4s (one Turkish), a Windows 98, and three assorted Linuxen. Left to start up by itself, the machine chooses a broken installation of SUSE and halts with a kernel panic.
Cruft Force 8. Decrepit. Description: A virus checker is installed at the insistence of IT. This actually improves performance, apparently violating Newton's laws.
Blue Screens Of Death are served daily. The SETI screen saver, like ET himself, encounters difficulty calling home and despairing during an overnight run creates 312 copies of its icon in an (impressively expanded) system tray that fills half the screen.
Successful connections to the LAN are very rare.
Cruft Force 9. Putrefaction. Description: Can only see the 32-GB D:\ partition -- the one which has all the source code on it -- at every third boot. Directory count in C:\ up to 93, partly because some [one/thing] has put a complete (but non-working) installation of the Eudora e-mail client in the root.
Starting Control Panel shows rolling torch animation. The applet icons never appear.
Cruft Force 10. Expiry. Description: Machine only runs in Safe mode at 16-color 800×600, and even then for about a minute and a half before BSODing. Attempts to start an app are rewarded with a dialog "No font list found."
Ordinary dodges, such as reformatting the hard disk(s) and starting again, are ineffective. Cruft has soaked into the very fabric of the machine, and it should be disposed of safely at a government-approved facility. There it will be encased in cruft-resistant glass and buried in a residential district.
DDJ
Please mod parent up (Score:2)
The main issue with Windows and their apps has been the hideous version control. It has improved since 2K/XP but trying to chase whether a DLL is really needed or not is interesting. Those apps sharing DLLs that install their own versions caus endless fun.
From the article, a question answered... (Score:5, Funny)
Obviously, BLT300 is part of a new strategic alliance between Microsoft and Subway. In addition to having that wretched "Connect to the Internet" shortcut, Microsoft is now trying to influence the user's choice of submarine sandwich.
Fight back. Install new open source RedHot Club Sandwich Service instead.
Windows decay (Score:5, Insightful)
It's mainly the users and the applications. There are so MANY applications for Windows out there that want to put an icon on your descktop, in your system tray, in your start menu, etc. It is no wonder when the decay takes place. All these applications do their own thing to Windows.
Then, on top of that, you have many, many, many bad installers. They remove some files, sure, but rarely do they get rid of everything, including registry entries.
Linux has a bit different type of users, and most of the software made for linux is by people who hate "Take-over-your-system-ware" sofware. It also doesn't have the central registry system like Windows. Sure it will have it's problems, but right now it does not. More users and more bad or poorly written apps will cause bloat and decay.
So, as usual, we must blaim the users and the applications for software decay for the most part. The OS should do some cleanup as well, but gone are the days when uninstalling mean deleting the directory it was installed to.
Re:Windows decay (Score:3, Insightful)
You point out there are many bad installers that leave stuff scattered across the registry, this is quite true. Of course linux has the nice problem of scatter-componets-across-10,000 directorys. I use linux as a server platform instead of a desktop platform for precisely this reason. I can *never* find all the parts of some installs and I despise when a program places itself into 4-5 different directorys.
gone are the days when uninstalling mean deleting the directory it was installed to.
Haven't used OS X have we? =) Honestly this is one area where the mac shines. To uninstall something all you have to do is drap-drop into the trash can. Nice and easy.
Re:Windows decay (Score:2)
scatter-componets-across-10,000 directorys (Score:4, Informative)
Re:Windows decay (Score:4, Interesting)
I agree; which is part of the reason I quit using Mandrake and rolled my own LFS [linuxfromscratch.org] system. Anything I'm not sure about I make install to
--Jon
Re:Windows decay (Score:2)
What is it with media players? (Score:4)
Re:What is it with media players? (Score:2)
From the Tools menu select System Configuration Utility and then choose what starts and what doesn't.
YMMV, this can mess up a system if you don't know what you're doing. Most likely you can turn stuff back on if you have problems though.
(Alternate way - Run... msconfig)
Re:What is it with media players? (Score:2)
Re:What is it with media players? (Score:2)
Re:What is it with media players? (Score:2, Insightful)
Not always effective, but it's easier than a full reinstall.
Microsoft used to distribute a registry cleaner which I would also recommend, but for some reason MS pulled it.
Re:What is it with media players? (Score:3, Informative)
"Ask": During installation RealOne Player will ask you for permission to become the default media player for media types that may be assigned to other programs on your computer. Using a feature called Scheduler, RealOne Player will periodically check to ensure that your media playback preferences have not been overridden by another program, even when RealOne Player is not in use. Any media type that you have assigned to RealOne Player will be reclaimed automatically when another program attempts to override your choices.
For example, if another program decided for you that it should be your default media player for a given media type, RealOne Player would silently and automatically correct the change to protect your original choice. If you wish to change the media types that you have associated with the RealOne Player you can follow these steps: On the Tools menu, select 'Preferences', 'Media Types', then select the media types you want RealOne Player to be associated with. Select the "OK" button to save your changes.
You can configure the Scheduler to operate only when RealOne Player is in use by following these steps: On the Tools menu, select 'Preferences', 'Connection', 'Internet Settings', then select "Only perform automatic services while RealOne Player is in use". Select the "Yes" button when the confirmation dialog appears.
Please Note: We will always reassociate media types with RealOne Player that are unique to RealNetworks' products and cannot be played by other applications (such as RealAudio and RealVideo).
Re:What is it with media players? (Score:2)
msconfig.exe
Look in:
Local Harddrives (C:)
Search is complete.
And I remember using msconfig once upon a time.
More levels. . . (Score:4, Funny)
Now I have a 10gb system drive and win2k. Only disk errors can slow me down now!
Mirror (Score:2)
bsod, etc. (Score:2)
Otherwise, +1 funny article. It invites the question, is it even possible to make a system that won't decay over time, or at least allow a method for repair? Or is that simply impossible. I would think that removing the registry and reverting back to dos-link inifiles (.rc files) would be a start.
Re:bsod, etc. (Score:3, Interesting)
I have seen Win2k BSOD when explorer froze, when I plugged in 75 hard disks at once (JBODs), and when working the IO really hard as well.
Still, it is better than NT, but still not perfect.
Re:bsod, etc. (Score:2)
Re:bsod, etc. (Score:2)
This is according to a C|Net article and a couple times when Win2K rebooted on me.
Re: (Score:3, Interesting)
Re:bsod, etc. (Score:3, Insightful)
Yup, I have... (Score:2)
Sure... (Score:2)
There is no such thing. (Score:2)
There are however, "Stop Screens" These are completely different and should not be confused with BSOD.
Yea, right.
Re:bsod, etc. (Score:2)
Re:bsod, etc. (Score:2)
God only knows why this happens... I've scanned my system for virii, but none show up. You know, if I could only get printing on my wife's printer working properly from my machine under Linux, I'd never even have occasion to be in Windows in the first place.
Cruft from the get-go (Score:2, Insightful)
But these things are CRUFT! And there's MORE in a "virgin" Windows box:
It takes a LONG time to get things cleaned up and usable. You used to be able to just wipe the disk and install Windows from scratch, but more and more OEMs are not allowing thins, only giving you some crappy RESTORE disks...
Sigh... (Score:2)
WMP makes perfectly good WMA files, if you want MP3 then you can either purchase an encoder for it(about $10) or buy a third party product like say Musicmatch(about $30). I run Musicmatch on XP and don't have any issues with this, so it's unclear to me why you are claiming I cannot do this.
I'm going to guess you're one of these people who has never used XP but is convinced it is worse than Win98.
Re:Cruft from the get-go (Score:2)
But the default install of Windows is not clean, it is cluttered with CRUFT dictated by MS and OEM interests, not users needs.
Some of the stuff is just MS trying to make things easy for dummies. But a LOT of stuff is dictated by their politics. Red Hat doesn't install chkconfig because they figure "dummies" will have no need for it. MS cripples XP and tries to make you sign up for this and that and use their apps over competitors.
I Recently got a VAIO laptop with XP, and it was a nightmare getting it to let me rip a CD to good quality MP3s. Many of the 3rd party apps I downloaded complained about Windows missing some thing or other... Why would MS want to make this so difficult? Maybe to make us use MS-only ASF...?
I found it very difficult to turn off MS Messenger -- You can't just exit it and it's not in the startup menu -- you have to start it, go to preferences, flip through all the tabs, and uncheck "start automatically". Why should this program bypass the normal way that apps auto-start on bootup?
The sign-on to Passport was done in such a way as to make me think that it was part of the registration process -- and XP warned me that if I didn't register, my computer would stop working.
Etc.
In sum: Windows bad. Windows very very bad.
Re:Cruft from the get-go (Score:2)
Going for another "+1, Insightful," are we?
I don't disagree with you in principle, but I do think you have a different definition of "clean" than is really workable under these circumstances. I consider "clean" to be the configuration under which the system has been tested by the vendor. Microsoft wants you to have a Passport account. They want you to have MSN Messenger running in the background all the time. And so on. These are part of the default-- and tested, probably-- configuration of the OS. You don't like them; I don't like them. But that's how Microsoft intends for them to be.
So I define a "clean" installation of Windows XP as being one in which MSN Messenger is running in the background. Sucks, but there it is.
You, on the other hand, seem to define it as being the minimal system that can do what you need it to do. I don't think that's wrong, per se, but I do think that it's not a particularly useful viewpoint when talking about operating systems like XP.
And as for ripping a CD to MP3... what are you thinking? Get thee to an Apple store [apple.com] right now and equip yourself with a Mac [apple.com], and just use iTunes [apple.com]. Problem solved.
Re:Cruft from the get-go (Score:2)
Re:Cruft from the get-go (Score:2)
I should have been more clear about this, because you're the second or third person to post a "correction" about it: decisions about default OS configurations will only make sense some of the time. The fact that the original poster didn't like MSN Messenger doesn't necessarily mean Microsoft was wrong to include it by default, but rather that the poster's needs differed from what Microsoft was prepared to provide by default.
Re:Cruft from the get-go (Score:2)
"It's not whether you're paranoid, Lenny. It's whether you're paranoid enough."
Re:How about tools!? (Score:2)
And as to networking: tell me about it. I once thought I would be clever and just bring a server up in DHCP, then change it to a static IP address later. Was that a pain in the ass. There are a lot of good things about Linux, but helpful documentation is not one of them.
I'm sure that a dozen people are going to slam me for saying this, but the process of adding a static default route to a Red Hat 7.1 system is not an easy one to figure out.
Well... (Score:3, Informative)
That's the power of open source.
Re:Well... (Score:2, Insightful)
Free Software is powerful in many ways, but the idea that you, yourself, can go in and fix decay is kind of silly.
Correct me if I'm wrong, but all OSes rely on abstraction. Abstraction relies on a bit of bloat.
Any OS is going to decay over time without micromanagment. Windows will probably decay even if you're the strictest of system operators because it tries to hide everything from the user. Even if we did have the source to Windows, the FIX would be not including so many useless programs.
Open Source code doesn't solve everything.
Comment removed (Score:4, Funny)
Sounds like code rot to me (Score:2)
No surprise here. Coders like to change things, API's, software, system registries, etc. Unfortunately, they are often unable to clean up after themselves properly.
-Sean
Many Unices are not prone to this (Score:3, Interesting)
I have run FreeBSD for 6 years without a single reinstall, been upgrading all the time (source via cvs, then make world and using mergemaster to merge new config into
Re:Many Unices are not prone to this (Score:2, Informative)
However, the first time that you do a blind make install on some random software package, you start to lose control. Most problems I've run into managing Unix systems are because of this.
One server where I work now started out (as I understand it anyway) as OSF/1 3.0, then upgraded to 3.2, then Digital Unix 4.0[ABCDE], then Compaq Tru64 Unix 4.0F. Lots of additional software had been installed over the years with little or no thought to tracking what was what (how do you figure, three years after the fact, where /usr/local/lib/libfoo.so came from?). When it came time to upgrade it to Tru64 5.1A, I did not take the upgrade path. Instead, I sat down with a spare server, did a clean (and documented) install of 5.1A. Then I got port of RPM 4.0 for Tru64 working (I'm a Red Hat guy; if I used Debian I'd have used dpkg) and packaged every bit of non-Compaq software we use in RPMs (with our configs built in). There is a well-defined directory for local scripts that has very little in it; every other file on the system can either be tracked via RPM or Tru64's native setld package management system.
It was a lot of work the first time, but when I upgraded the second server, it didn't take much time at all. Also, when I've needed to upgrade software, it was much easier to start with a source RPM of the previous version with our local changes set up as patches.
The moral of the story: use your package management system! It may seem like it gets in the way sometimes, but it can save your butt (or your successor's, in the case of a company server) down the road.
Benchmarking (Score:5, Interesting)
Im not trying to insinuate that other OSes are not at all susceptible to this but at the same time i have to say that my os x machine's performance has _improved_ over the past year (thanks to apple point releases) through hundreds of apps being installed removed and generaly abused. at the same time my linux box where admitedly much less software is fussed with is about the same when i installed red hat 6.2 on it a year and a half ago.
With that in mind Id be really interested in all those people who are trying to prove a point about one platform or another run their tests under realistic conditions rather than under ideal lab conditions.
just a thought
Plug, plug (Score:5, Informative)
Re:Plug, plug (Score:2)
I was finding that I had a lot of cruft in /etc. This was partially files that didn't need to be there, but also files that I had edited manually, so dpkg and friends wouldn't manage them any more. I decided on a fresh reinstall and to restore only files that I really knew I wanted manual control over. It's worked out quite well.
The thing that really differentiates Unix from Windows in this respect is that you can actually fix cruft problems in a meaningful way. Do a ps aux and see what's running and check the /etc/rc* files for stuff that shouldn't be there. That will take care of cruft-related performance problems.
Having an aesthetically pleasing /etc is another matter. :-)
Who would want to *install* cruft? (Score:3, Funny)
Re:What does the Debian policy offer over Windows? (Score:4, Informative)
The dselect, apt-get, dpkg, gnome-apt, installers do just what you are asking a package installer to do. When you build a package, using Make, or other software building applications that support Debian packages, your package does identify what files are needed, what independently developed packages are required. It also handles uninstall very well.
Is it perfect? Nope. But in comparison to Windows software installers, it is light years ahead.
Of course BSD users will brag about how their installer works for any platform that has a C compiler... and that there exists drivers for the hardware... Sounds like a really lousy way to be set up to uninstall software later, but I am not judging the system, I don't use it.
-Rusty
Re:What does the Debian policy offer over Windows? (Score:3, Informative)
And all it does so far as I can tell is tell an
application designer how to play nice with
everyone else.
No. It tells a Debian maintainer who chooses to add an application (of which he is not usually the designer) to the archive what he _must_ do.
Until operating systems have a generic installer
Debian has one.
and application designers don't have to do any
more tell this installer "here are my files, i
need to store this config info, and these are my
dependncies, do what you will"
That is what the Debian package management system does. It is the job of the Debian maintainer, not the program author, to package the program so that it complies with Debian policy and functions properly with the package management system. Familiarity with Debian policy is one of the requirements for becoming a Debian maintainer.
let the one who knows the details be the one to
handle them.
That would be the Debian maintainer. There are about a thousand of us.
Somebody must have spent more than a year... (Score:2)
But really, all Win users I know who know what they are doing typically reinstall every 6-12 months to avoid this. All sheep will call tech support, which will tell them to place "Dell recovery disk" into the cd-rom tray. Anyway, the win machines I manage, (my family's) do not go far past level 5, and then only due to gator / growing registry. Pretty much as soon as explorer starts crashing / freezing continously (which happens way before daily bsod, but just as damaging) it is time to reinstall.
Now about linux......
I have been a linux user for about 2 years...The first year I did not have much of a clue -- so cruft was a huge problem...It is called installing newer version of gtk while running debian stable and not using a
A year ago....still learning, I started using slack....and did all my own management....I did get cruft is
furthermore....about the only thing that changes in linux, when you have crap in the libs, is that ld.cache is huge, and wasted space on the drive.....but it does not seem to alter performance a bit..or I have not noticed it at all. It simply is not loaded into ram...compare to windows, and you know that the speed of the machine is inversely proportional to the size of the registry.
But back to cruft on linux -- there are lessons I learned from running my system, and seeing others.
1. Use a package manager or keep a log of everything installed. Package manager is preferable if it does a decent job. I think both rpm and apt/dpkg do a very decent job, with rare and fixable corruptions. Gentoo portage seems to be excellent also...but I need time to verify....
Slack and LFS users....keep track of your installs....preferably of each file...To do this use depot / some other organizing tool that keeps everything separate.
2 Install only the stuff you need, uninstall the rest. Do not get carried away with maybe I will use this...If you stop using it and never plan to come back, remove it immediately
3. Do not ever do make install....if you compile straight from source (portage exempt) then make install will kill your hd space and make it very difficult to uninstall...If you are the only user who runs this app then try running it in your home / some other designated directory. Perhaps create a designated directory, and do a chroot install, and then create symlinks. (BTW depot does this for you, so use it if you do this often)
The only real exemption from this is the kernel, glibc, standard utils, compiler, and package manager....everything else must be kept clean
And remember the advantage of linux is that you can control cruft, while in windows cruft controls the computer
In RedHat linux... (Score:2)
rpm -Va | wc -l
(check all packages and count lines of mistakes)
In my case its value on my working horse notebook
is 26644,
on moderately used server it's 25535
On new machine it should be near 0...
BTW What command do you have on Debian machines to check all packages?
Re:In RedHat linux... (Score:2)
System clutter as a function of users (Score:2, Insightful)
First and foremost to consider is that there is no such think as a O(1) search algorithm("read 'Big Oh of one' for the non computer scientists in the crowd: notation used to measure the efficiency of an algorithm). The ammount of time required to search a list will always be a function of its size.
As the user base of Linux grows, so will the demand and supply of software. slowly, but surely,
Plus as more and more non computer literate people start using Linux, we will have to ensure that the software to support installing and upgrading packages on the system is user-proof, or other problems will result.
Unless someone can win a Nobell prize or Fields medal for finding a O(1) search, I'm afraid the above article is correct.
Keeping MacOS and Linux, esp. debian, clean (Score:4, Informative)
I used to keep my macs working for 3-4 months before having to reinstall the whole shebang. I only reinstalled Mac OS X once since october. Macs are quite easy to keep clean, after some time you know where "cruft" accumulates. If anyone's interested, Alladin sells a product called Spring Cleaning [aladdinsys.com], which I don't use. I clean my mac by hand. Seriously, on Mac OS X the only messy places are ~/Library and /Library. If you put your personal mess in your home folder, that is.
My Gnu/Linux distro of choice is Debian. If you use debian, you know how quickly apt installs those libraries. Have a look at deborphan [debian.org], which "finds 'orphaned' packages on your system. It determines which packages have no other packages depending on their installation, and shows you a list of these packages. It is most useful when finding libraries, but it can be used on packages in all sections". I run apt-get remove `deborphan` about once a month.
Another great tool for the Gnu/Linux user is cruft [debian.org], which, as the name says, tries to find the cruft on your system. It generates many false positives (e.g. /vmlinux), so use with many grep and caution :-).
Which tools do you guys use to keep your system clean?
never decay - VMWare non-persistant (Score:4, Insightful)
You can get a windows install to never decay:
1) install favorite OS [vmware.com] as the host system.
2) install VMWare [vmware.com]
3) install windows as a guest OS. Flavor to taste.
4) set the Guest OS drive to non-persistant. Set you home directory to a share form the Host OS.
5) reboot the guest OS as needed. Everytime you reboot, the system is restored from the image stored on the Host OS. Crap does not stay unless you tell it to stay.
or for slightly different purposes, install the OS and tailor it as you like it. Image partition. Reimage the drive when there is too much fluff and bloat hanging around.
Just make an image. (Score:2)
the image of my 'vergin' Win98 {yeah, yeah, I know, butI don't need fancy, keep 98 'clean' and it will work nicely) , with some software will fit nicely on one cd.
The only problem is I installed several 'important' applications and some crap, but I forgot to make a new image.
So when I reinstall the image I have to figure out the changes, reinstall the security updates, hope I find an old realplayer without banners and ask around for that cute small game.
Ofcource with the proper maintenance working with images is DEVINE. A clean installation in 15 minutes.
Re:Just make an image. (Score:3, Informative)
disk images are great for most applications, and I used a simple image for quite some time. But the best parts about vmware are two-fold:
1) you can store multiple different images and boot them as you please
2) the little message when you shut down the virtual machine: "Commit changes to disk?". If you liked a softwrae package you installed, you just say yes. If you don't like it, say no. You don't have to update the image you made, as it just did.
Mind you, vmware and the host OS do take up system resources. In some cases, you want the guest OS to have as many resources as possible, and the disk image is the better solution. Or you are run a public computer lab and every monring the computers load the latest image from the server and boot that
Windows decays because... (Score:4, Informative)
MacOS's preferred installation method ("drag-and-drop") doesn't suffer quite from the same problems as Windows. It's clean, simple, and easy to understand, and it doesn't leave junk all over the disk in mysterious places. But some applications install differently, and there is no single software update mechanism. Still, so far, OSX is holding up well on my systems, showing no signs of decay. But maintaining applications at the latest versions is a significant amount of work compared to Linux.
For Linux distributions, it depends on the installation and update method. Debian systems can be updated for years without "decay". In fact, I haven't seen one "decay" yet, either ones that are updated regularly or ones that aren't. Because all packages come from a single source, they are all integrated, cross-checked, and tested together, a luxury that neither Windows nor MacOS have.
The fact that, in Linux, each program has its own configuration files, often one system-wide one and one in the user's home directories, also makes Linux enormously more robust. There is no single point of failure and if some program's defaults get corrupted, it's trivial to fix and trivial to tell users how to fix it ("rm .foobar" and you should be fine).
Re:Windows decays because... (Score:2)
For my two cents, Mac OS X may have its own form of decay, but it doesn't seem to affect the operation of the system the way Windows decay does. On my Mac I have quite a bit of cruft-- an installation of PostgreSQL that I no longer use and haven't bothered to disable or remove is a good example. But I never notice it unless I'm looking for disk space.
I took a month-long vacation from work in May. In April, all was well. When I came back at the end of May, suddenly it was taking about fifteen seconds to open Acrobat. Previously, it would pop right open. That's a mystery to me. I've never had anything like that happen on any of my Macs.
Privilages Helps quite a bit (Score:2)
Servers don't have as much installed application (or they should not), so cruft is not as much of an issue.
I am on my third user account on Linux laptop workstation. My first account has a gnome config from hell, thanks to a few too many hard poweroffs. Gnome works fine as other users, I don't know how to fix it for that account. My second account just become to cluttered with crap, and I found it easier to create another account rather than clean up.
Each time I switch, I login with my origional user id, with my home dir mapped to whatever my current account is. chmod the other homes so I can still access them as needed and everything works great.
It's an easy way to bring a desktop workstation back to life. BTW - I use kde now, and it doesn't seem to have the same 'cruft' problems I had under gnome. Gnome would lock the station solid on my, forcing hard power cycles. Each time my envirnment would get worse.
-Pete
This is no surprise. (Score:4, Funny)
The only way to eliminate cruft (or whatever you want to call it) is to make computers into machines which can function just as well under imperfect physical conditions. A book is still functional, even if you partially break the spine and remove the cover. Fitting lots of failsafes and/or restricting the freedom of installation programs should help reduce cruft. When was the last time satellite control modules suffered from cruft? Or the machines which work our nuclear power stations?
Uninstallers tend to not bother removing everything because some of the old program components may be being used by some other program. The obvious solution would be to stop all programs using each other, but there are two problems with this:
So this policy would be unenforceable, and would require much, much bigger hard disk drives. The only obvious solution to his problem would be to stop making the programs integrate themselves into the system so well, so they can be removed with a simple 'rmdir'.
Someone has already mentioned entropy and decay as a cause of cruft, but if it plays such a big part in it, why will a computer still function fine if you leave it in a cupboard for a decade, blow the dust off it, and plug it back in? The reason is that entropy is caused by crappy coding, crappy operating systems, crappy users, crappy physics and crappy integration. Until these three things cease to exist (not likely), then cruft will continue to occur. I don't think anyone could be expected to keep track of the things a 6-year-old PC has to keep track of:
Uninstaller: Duh! I think I'll randomly leave behind 7 files, due to the 0.02% chance they might be used by some other shite program!
OS: Duh! I think I'll randomly fragment the hard disk drive, and fuck up the file system!
User: Duh! I think I'll randomly install the first software I happen to catch my eye on, and install it wherever it's most convenient!
Physical environment: Duh! I think I'll randomly deposit dust on the surface of the motherboard and the hard disks!
Integration: Duh! I think I'll randomly use DLLs from other programs, but not say which!
At the end of the day, it comes down to a balance between convenience and simplicity. Convenience occurs when everything promises to install itself, and to latch onto everything else. This goes wrong because a program simply can't know where and how to install itself to avoid cruft. Simplicity occurs when everything on a PC is in its own self-contained bundle, interacting as little as possible with everything else. This goes wrong because a program has no way of efficiently obtaining data from other hardware or software.
And in case you were wondering, my computer's at cruft force 3 - Lived-in. Surprising, considering it's a 2 year old Windows machine.
never seen the phemon on Redhat (Score:2)
I now have proof! (Score:2, Funny)
It is a good thing that my is boss is an el' cheapo. His computer is on Cruft force 10 and refuses to repalce it. So with mine at Cruft Force 5 I look like an absolute genius to him!
About time to reinstall XP (Score:2)
I don't completely blame MS for this, but there is no doubting this type of problem is rampant for any power user who tries to push a MS operating system hard.
Of course the opposite is true as well. One of my clients runs just 98 and Office and never installed any other apps, and they almost never have any crashes.
But then again, what's the point of an OS if you can't install and uninstall whatever you want?
Unix cruft (Score:3, Interesting)
ls -ld ~/.* | wc -l
Dot files. Loads of them. Four from RealPlayer, six from Gnome, five from Pine, three from Sawfish, and three NFS lock files, among a total of 140 entries.
Good thing Linux doesn't have a registry. It might get cluttered.
--Patrick
Cruft Level 11! (Score:5, Funny)
It shouldn't run, it shouldn't even boot into safe mode, but some odd digital alchemy has occured that has resulted in some necromantic miracle, resulting in a cantankerous, yet unkillable install of Windows.
They left out my favorite (Score:2, Funny)
No, not a hardware problem. I tested different keyboards and they all exhibited the same behavior. And when the OS was wiped and Win2k was installed, no more problem.
There was nothing strange installed that I could find, AV software was up to date and apparently functioning... Very funny one.
Real Player is a Great Example (Score:5, Interesting)
On my XP box Real One put "eventsvc.exe" in the run key of my registry, I removed it. Every time I run Real One it puts it back. This thing is even more anoying than the start center, it just sits in the background until another app steals one of it's file associations. It then pops up a little box saying "this app has stolen my media type". The box has two options, "OK" and "remind me later", there isn't even an X in the corner to close it, you have to use alt + F4. If you don't say OK and this stupid thing is running it will pester you again every 15 minutes or so. You have to kill the process and then remove it from the registry (or use msconfig).
This IMO is the worst kind of cruft. Maybe I want to use Winamp for MPEG 1 audio! Please fuck off!
This piece of junk just sits in the background sucking up a couple megs of ram and using some cpu time when it needs to check that nothing else is moving in on it's turff. The fact that I am playing WC3 when it decides to do this, isn't relevant, Real must protect thier position as the number one most anoying piece of shit in existence. God only know how many memory leaks and all round crappy code is contained in this thing.
Real guys, last time I checked it was still My Computer. Leave your bullshit at the door.
Re:Don't use it! (Score:3, Informative)
That is a pain. But there's a 30 second workaround: set your clock forward many years, launch the QuickTime player, click "Later", quit, and reset your clock. It won't bother you again as long as the time is earlier than what you set it to.
Re:Don't use it! (Score:4, Interesting)
Doing this with software such as Quicktime is also rebellious, as it sends the word to Apple that *hey your software is worthwhile to me*. It states that *I don't succumb to predatory bundle-it-with-the-OS techniques* and most importantly *I support capitalism and the free market*.
Do you get to do that by playing with the calendar?
Maybe, maybe not (Score:4, Informative)
First of all, I'm willing to take at face value the fact that a 2K/XP system running only well supported, stable drivers on stable hardware running only a small set of vital application programs will be unlikely to encounter any serious problems. I have no personal evidence to support this, but a few people I know swear by it, so I'm willing to accept it under these conditions.
However, 2K/XP might have gotten it right, but it took MS 20 someodd years to get around to getting it right. And it requires a fairly new computer to be useful. Win 95 runs great on old (read: CHEAP) hardware as far as performance goes, but it has serious stability problems. If I want to run a 7 year old version of Linux, I'm willing to bet
that the last release in the 1.0.x series is just
as stable in a production environment as the latest 2.4.x release is. Sure, it might not be
as feature packed, and might not have the extensive driver support, but if it serves the purposes I require, it will work flawlessly.
As for drivers, Windows virgin installs come with a set of drivers for a lot of legacy hardware. If your system is a couple years older than the version of Windows you're installing, it probably has the drivers for all your hardware. For any other hardware, you'll have to use vendor supplied drivers. If these drivers are unstable, Windows can misbehave, and it wouldn't necessarily be the fault of Windows. Certainly Linux must have the same problem, right?
The simple fact of the matter, those who support Linux tend to support the same software methodology. The drivers, like the kernel, are all open sourced. They're heavily peer reviewed, and those that are integrated into the kernel are solid. And if bugs are found, they're fixed. If the original programmer doesn't/can't/won't fix it himself, there are countless others who can. In many/most cases, the drivers aren't even written/produced by the manufactuerers of the hardware, but by kernel hackers, on their own time. These guys have no interest in being first to the market. They have no desire to play the "just get it working, we can fix it later" game. Their only interest is in releasing solid, efficient code, becuase if they don't, they know someone else will be tearing it apart.
Therefore, the drivers used on linux systems tend to be rock solid. So you have a rock solid kernel and drivers. Now for the applications.
Applications for linux based operating systems tend not to overwrite system libraries with their own versions. General purpose applications are not generally run as root. The worst a normal user can do on a linux box by running buggy applications is to cause it to crash. Certainly, he can send the machine into thrashing or fill up the hard disk, but there are ways the administrator can restrict the type of activities that cause such outcomes. 2K/XP have methods to prevent these same problems, but many of the problems involved with installing misbehaving applications simply shouldn't be a problem in the first place.
As for adding cruft to the operating system, my linux box has the same number of directories off of / as it did the day I installed it, with three extras added for each mounted HD on the system. My
I suppose its possible that a poorly managed linux box can cause massive problems, just as a perfectly managed windows box might work flawlessly. But all I can say is this. It's been 154 days since my last power failure, and my linux server has been up for 154 days. None of my windows boxes have that track record.
-Restil
Cruft can be keep in check with some work. (Score:4, Informative)
You can manage the cruft in windows. It's not impossible, even if you install/uninstall a lot of stuff. The important things are to know what's running (task list, services, run at startup, etc) and to get to know the registry. You must babysit for poor installation programs. Often they will add crap to startup, or icons on the desktop, or other weird things, which I would always delete. You also have to help some of them wipe their ass when you uninstall, as a lot of them leave junk behind. You have to be willing to go into the Windows system directory and examine questionable DLLs. There a lot of tools to help with this. I recommend everyone who is interested go to www.sysinternals.com [sysinternals.com]. There you will find programs such as REGMON and FILEMON which show you every registry access or file access in realtime, with the ability to filter. Also very useful is LISTDLLS which shows you which DLLs are loaded by every process in memory. If there is a file that's locked you can often find out who is using in with this program. The 2k resource kit has a free utility called Dependancy Walker which will show you the library dependancies of any
I find a lot of times when I use someone else's windows machine I am appauled by the amount of crap they have loaded, and most of the time aren't aware of it. Programs that load stuff on startup without being very clear about it and asking you first really peeve me. I patrol the startup folder+registry entries very strictly, and keep the task list small.
You of course have to make sure your hardware is stable and you have to go through the process of finding a driver combination that is suitable. It can be very frustrating to mess with crap drivers and a ton of strange BIOS settings. But if you stick with it you can eventually find a combination that is bulletproof and will yield stability. If you don't put in the effort to do this, though, you will forever be messing with strange crashes.
It can be done, but it is not for the faint of heart.
Mac OS 9 (Score:4, Informative)
The problem with Windows is the Registry. Practically nobody, including Microsoft's own programmers, knows exactly what to clean up in the Registry to get the system running as good as new, without breaking something important. In Mac OS, however, it's really quite simple. Granted, you do have to have an understanding of how the system works, so I wouldn't expect a novice to know how to do this intuitively, but I'd expect far less of a Windows user.
The most obvious thing is the Desktop file (actually a couple of files now). This is the closest thing the Mac OS has to a Registry, and it's not close at all. Every six months or so, reboot while holding the Command and Option keys (technically, you just have to hold the keys while the Finder is loading) and it will ask if you want to rebuild the Desktop file for each mounted volume (filesystem). A couple minutes later, good as new.
The next thing is extensions and control panels. Perhaps you've downloaded some cheezy shareware thing that's conflicting with some other cheezy shareware thing. Open the Extensions Manager, and have a look. Usually you can easily identify where most things came from; if you don't recognize something, you can turn it off, reboot, and see what happens. You can create multiple extension sets to experiment with if you want.
Finally, preferences. Some app misbehaving? Trash the Preferences file. Everything reverts to defaults, but nothing is really broken.
And of course, if you want to uninstall an app, usually you just need to trash the folder the app is in. Sometimes it may come with control panels or extensions; just trash those too (they're easy to identify). If you want to be thorough, trash the prefs too, although it won't hurt to leave 'em.
I have yet to see anything easier to maintain.
Re:Mac OS 9 (Score:3, Interesting)
MacOS X in theory is easier still than MacOS 9, with its application "packages" containing all you need to throw away. Plus maybe some files in the Preferences folder, but they're harmless. With Carbon apps (esp. games) that support MacOS 9 it's a little more complicated.
The extensions management you mention is a little more difficult than you imply, but it's not nigh-impossible to do by hand like the Windows Registry is. A trick you didn't mention is to use the MacOS file labels (colors) on known-good extensions, which makes it easier to find newly inserted or modified items.
Techtool is an excellent utility for zapping the PRAM (a trick you missed) as well as for rebuilding the desktop. DiskWarrior cleans up cruft in your directory structure (HFS/HFS+).
When I was stuck using Windows machines at work, I made frequent use of RegClean, Norton Utilities, and scanreg /fix to keep things livable. Often the same registry errors would return over and over again. Like a mold.
To sum up, I preferred MacOS 9 when I was using it, but MacOS X is so much better still.
Unix can have have more cruft than Windows. (Score:3, Informative)
However, I think that even though Unix can have more cruft, its also easier to get rid of it. Windows, and especially Windows XP, has the registry which can easily load up. Who knows what the hell needs what. Especially when you've uninstalled programs that don't like to remove registry entries. Windows XP will even protect itself with backup copies of the registry and you can only remove some files in a special way other wise XP will just replace the removed or user-replaced file with its own backup. It has backups of backups too.
Anyway, since Unix generally doesn't have a registry (for better or worse) it also easier to remove the cruft. If you strictly follow your distributions packaging system, cruft in Unix should be fairly low because you have a way to track the cruft.
Debian (and maybe RH too) has a way to reduce cruft even further. If you modify files after installation of a package, you can have it rebuild that package with your changes included.
Debian rules and Red Hat drools!
COM registry pollution is worst (Score:3, Interesting)
Right now my work system (W2K) most of the time takes forever to pop up the context menu on files in Windows Explorer. It didn't always do it, but I can't really identify a major change to the system that precipitated that. No doubt some of the shell extensions that are being activated each time are looking for "stuff" that they're either not finding, are being slowed down by other components that they're relying on, or experiencing some other type of timeout. The menu can take 30 seconds or more to pop up. Similarly, some types of file operations take equally long: deleting a file from within Windows Explorer can take over half a minute, half of that time waiting for the confirmation dialog, the other half waiting for the "deleting file" animation dialog to quit. These are all most likely COM related problems that could probably easily be fixed--if you know what you're looking for. Unfortunately, a trace on registry operations during a context menu popup generates so much output as to be virtually useless.
Things like these all add up to make the Windows user experience increasingly frustrating with advancing time, particularly because of the seeming intractability of the problems. The new
Re:Just as prone? (Score:2)
But then if you leave Windows 2000 (yeah, the article wasn't really talking about 9x, which is in a whole different league...) in its default state it doesn't crash that much either.
And I have had badly misconfigured linux boxen that have stayed up for months anyway. The ability to successfully forward packets and occasionally serve a web page without crashing does not equate to a lack of cruft.
Re:Just as prone? (Score:2, Redundant)
Interestingly, the author has decided a virgin install of Windows, complete with Welcome to Windows dialog, stupid Windows music, and Connect to the Internet icon, is cruft-free.
Re:Just as prone? (Score:2)
That's funny--mine always required a couple of reboots a day.
Re:Just as prone? (Score:2)
Re:BSOD (Score:3, Informative)
When I had low-quality (I mean LOW quality) video hardware, I got IRQL_NOT_LESS_OR_EQUAL errors while playing games all the time, but with the upgrade to a brand new GeForce3, there have been no problems.
Win2K seems to have gotten software stability down pretty well.
Re:BSOD (Score:2)
Has anybody else seen this behavior before, and if so, what was the cause? My computer is so stable otherwise...