Bloat in Linux
Posted: 2004-06-10 07:24pm
Get your fill of sci-fi, science, and mockery of stupid ideas
http://stardestroyer.dyndns-home.com/
http://stardestroyer.dyndns-home.com/viewtopic.php?f=24&t=47077
Maybe one might run Debian stable on these older computers (yes, everything is horribly out of date, but that's the point, and they release backports of security fixes for these older software packages.Uraniun235 wrote:Granted, there are some programs which simply need to be the latest version, and as such should have lite versions for those with lightweight computers... but for the most part wouldn't you expect to run older software on older computers? Seems pretty straightforward to me.
Er... why do you use it as one then?But it has never been good as a desktop GUI platform.
And what's with all the celeries...???CPU
Intel 1400MHz Celeron
Motherboard
Asus TUSL2-C i815-chipset ATX board
RAM
384MB PC133 SDRAM
Video
nVidia 64MB GeForce2 440MX
Pinnacle Systems Studio 8.5 video capture card
Monitor
Viewsonic E771 17" SVGA
Sound
Hercules Game Theatre XP
Network card
3Com FastEtherlink XL 10/100Mbps UTP NIC
Hard drive
Maxtor 6Y120L0 7200rpm 120GB ATA drive
Western Digital WD800JB-00CRA1 7200rpm 80GB ATA drive
DVD-R/RW drive
LG Electronics HL-DT-ST GMA-4020B 2x DVD writer
Operating systems
Mandrake Linux 9.2
Because my machines are fairly fast, not old 600MHz boxes as mentioned in the article. So it's not a problem for me. Also, I know how to set it up and use it. Newbies have a much tougher time with it unless somebody else sets it up for them. The installation has gotten a whole lot easier, but there are still lots of things you need to drop to the command-line for.Pu-239 wrote:Er... why do you use it as one then?
They're cheap and don't generate much heat load and I've had some unfortunate experiences with VIA chipsets which are common in the AMD world.And what's with all the celeries...???
Actually you have confused a few issues.Mad wrote: Incidentally, that same memory management issue is one of the reasons Linux is so stable: processes can only write in their own memory space, so they can't go and crash other processes by screwing their memory space up. You win some, you lose some.
You missed a few of the subtleties or the book was just wrong.Or, maybe I'm completely misunderstanding the book.
To lessen that login time I set cmd.exe as my default "shell" instead of explorer. From there I could load explorer to deek around with the net or other stuff, or I could just run games right from task manager to save a bit of memory. At least it's better than right clicking your desktop as soon as you get the GUI and getting zero response.Darth Wong wrote:Windows does make great efforts to improve subjective appearance of response time. For example, watch a Windows box boot up. Notice how soon the login prompt comes up, even though the HD is still churning away like mad and it's obviously not done starting up yet. Similarly, watch how quickly it appears to log in, even though (again) the HD is still churning away like mad and it's obviously not finished yet.
Type 'gpedi.msc' in run~Praxis wrote:Actually, that's a brilliant idea. How do you do that? And can you run games online?
To be fair, it doesn't really do that on a clean XP install. It's only after you've had a chance to accumulate additional programs, patches, Startup options, etc. do they get boot lag... MS is gonna have to dig into fixing that aspect.Similarly, watch how quickly it appears to log in, even though (again) the HD is still churning away like mad and it's obviously not finished yet.
Pu-239 wrote:I don't think unused server daemons have much impact on performance- I'm running Apache2, SSH, Squid, Masqmail, Uptimed (yes, a daemon whose sole purpose is to track and record uptime), Samba, Portmap(needed by FAM which I'm about to remove, since I haven't used a full desktop environment in ages), Ulogd (I don't like my syslog being littered with stuff from IPtables), Spamd (SpamAssassin needed by Evolution 1.5's spam filtering), ACPID, plus the standard stuff like Cron, Syslogd, Klogd, and responsiveness doesn't really improve if non of them are running.
Does Fedora/MDK install and run all these daemons by default?
Code: Select all
sudo chkconfig --list
Password:
microcode_ctl 0:off 1:off 2:on 3:on 4:on 5:on 6:off
kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
random 0:off 1:off 2:on 3:on 4:on 5:on 6:off
rawdevices 0:off 1:off 2:off 3:on 4:on 5:on 6:off
pcmcia 0:off 1:off 2:on 3:on 4:on 5:on 6:off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
apmd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lisa 0:off 1:off 2:off 3:off 4:off 5:off 6:off
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
anacron 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
ntpd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off
readahead_early 0:off 1:off 2:off 3:off 4:off 5:on 6:off
snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
cpuspeed 0:off 1:on 2:on 3:on 4:on 5:on 6:off
irqbalance 0:off 1:off 2:off 3:on 4:on 5:on 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
readahead 0:off 1:off 2:off 3:off 4:off 5:on 6:off
rpcgssd 0:on 1:off 2:off 3:on 4:off 5:on 6:on
rpcidmapd 0:on 1:off 2:off 3:on 4:off 5:on 6:on
rpcsvcgssd 0:on 1:off 2:off 3:on 4:off 5:on 6:on
xinetd based services:
chargen-udp: off
rsync: off
chargen: off
daytime-udp: off
daytime: off
echo-udp: off
echo: off
services: off
time-udp: off
time: off
ktalk: off
cups-lpd: off
sgi_fam: on
Especially in the GUI area.Darth Wong wrote:Windows does make great efforts to improve subjective appearance of response time.
WTF? Linux does support shared memory. Read here: http://fscked.org/writings/SHM/shm.htmlMad wrote:As I understand it, the reason Linux is slow as a desktop GUI is because Linux doesn't really support shared memory, while Windows does.
*snip*
The problem is backwards compatibility and hardware manufacturer support- which is the reason why things like DirectFB have not been successful. Hardware manufacturers, notably nVidia, only support X. In the future, X will be extended and modified to be better/faster, but won't be replaced.Maybe X and its window managers could be redesigned to support both, so new programs could take advantage while old programs can still work. I don't know how feasable that'd be, but even if it is, I'd imagine it'd still be a huge undertaking. (Then there's the problem that remote X sessions are possible because X uses sockets instead of shared memory to communicate... maybe the processes should make calls to some generic OS communication function that decides whether to use shared memory or sockets...)
Yea, I don't think Linux distinguishes much from GUI and other programs. One could renice X to a negative number (for me -10, of of priorities -20 to 20, with -20 being highest (reserved for important stuff like software RAID).ggs wrote: For GUI apps, Windows dynamically fiddles around with the thread priority levels to insure the forground application is consistently snappy by making sure it isnt CPU starved.
On thing windows does is takes the approch that if it holds a windows hanlde, and that window handle is in use(aka visible), then the user cares about the thread owning that window handle.Pu-239 wrote: Yea, I don't think Linux distinguishes much from GUI and other programs. One could renice X to a negative number (for me -10, of of priorities -20 to 20, with -20 being highest (reserved for important stuff like software RAID).
There is a slight difference between being in kernel space & being in the kernel. But yes parts of the GDI execute in kernal space, just like video card drivers. But it does mean that if the driver borks, than the machine can be up shitcreak. The GDI stuff is heavily tested just by running a few Microsoft apps, so its very well tested.Also, isn't the Windows GUI built into the kernel (among other things like parts of IIS), increasing speed and reducing stability?.
Same, I only reboot my computer when needed and rarely turn it off.Anyway, my solution to long startup times? Leave computer and apps running all the time.
Hm... this probably could be implemented in X, since X runs as root, and could renice apps... Should be trivial, but isn't done... I don't know if it can be done to individual threads though.ggs wrote:On thing windows does is takes the approch that if it holds a windows hanlde, and that window handle is in use(aka visible), then the user cares about the thread owning that window handle.Pu-239 wrote: Yea, I don't think Linux distinguishes much from GUI and other programs. One could renice X to a negative number (for me -10, of of priorities -20 to 20, with -20 being highest (reserved for important stuff like software RAID).
html.sys lives in kernel land too!