From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,34f31cd70d1d5a35 X-Google-Attributes: gid111c93,public From: Eberhard Burr Subject: Re: Kernel compiled with Compaq C Compiler booted Date: 1999/11/02 Message-ID: <87zowxnoas.fsf@gmx.de>#1/1 X-Deja-AN: 543474321 References: <199910301934.NAA08797@gortel.phys.ualberta.ca> <87bt9fptfi.fsf@gmx.de> <7vivhj$bng@portal.gmu.edu> <8766zmpj0q.fsf@gmx.de> <7vkkrc$rr0@portal.gmu.edu> X-Server-Date: 2 Nov 1999 11:08:43 GMT Content-Type: text/plain; charset=US-ASCII X-Complaints-To: usenet@rz.uni-karlsruhe.de X-Trace: nz31-priv.rz.uni-karlsruhe.de 941542912 3832 129.13.216.109 X-Face: 2:,sX1r0xdA[z_iePptW'G?^2L=*gWY0nw*:*PA>=!#c7C?zFR@uZY#ZT_ZuIt?1*aed.rC m!?L%Z>v/\W:$=2kJh+F*]i]`q^p2!WUuRdL4b-?|%K-ig%xV1/KUShOF05kd:/:W7\@#v(R"N*xF6 Tmo&V+q+tjOmN=S~T5p`|n Organization: alpha, beta, crash. Mime-Version: 1.0 (generated by tm-edit 7.108) Newsgroups: comp.os.linux.alpha rraffer1@osf1.gmu.edu (Ryan M Rafferty) writes: > Of course. But an improved kernel would certainly benefit old, slow > systems that spend a lot of time doing a lot of varied tasks, such > as my old noname-based server that handles all the menial tasks on > the network, from ip-masq and dial-up to printserving (using printer > filters + ghostscript), NFS, SAMBA sharing, and even running Bnetd! Most of the tasks you name are IO-bound, so the point of saturated IO-paths still stands. > Honestly, even with these tasks running simultaneously the system > appears to have pep to spare. But if I decide to bog the machine further > with more tasks, I would appreciate speedier code in the kernel > "just in case." Of course, you might well argue that I should stop > being so cheap and just upgrade the workhorse :). I certainly know how to appreciate an old box if it's doing its job well. > : don't mistake a faster kernel for a faster computer. The scheduler and > : some parts of the VM layer could win, of course. > I'm not mistaking anything. But depending on the tasks of a particular > machine, further kernel optimizations may or may not enhance overall > performance. The key is to "optimize the inner loop", as it were. Of course. The tasks you name (Samba, NFS, dial-up) are IO-bound and therefore, I would'nt expect the kernel to be the 'inner loop'. To me it seems avoiding latencies is much more crucial to those tasks than anything else. With this respect, I found that changes in the kernel structure (comparing 2.0 with 2.2) made much more difference than the choice of compiler (I was still using i86 when 2.2 came out, so I can only judge the differences between gcc/egcs there). Then there are things like Ghostscript, which doesn't spend all that much time in kernel anyway. Optimizing the application seems worth the effort and as you say: > I do believe that compiling GNU LibC would likely yield more overall > benefit than the kernel, however. It would be interesting to attempt > that and run an empirical benchmark or two. Yes, that's my point, too. However, I'd start by picking some easier examples... Most likely, you're a better programmer than me, but having failed on XEmacs myself (even with gcc, it's tricky), I find porting libc to another compiler to be rather adventurous. While speaking of XEmacs: is it normal that it runs twice as slow on my SX164 than it ran on my old AMD-K6-166? kind Regards, -- Eberhard Burr check http://www.uni-karlsruhe.de/~Eberhard.Burr/publickey.asc for PGP Key -- #include -- electric cookie follows The meek will inherit the earth -- if that's OK with you.