From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6c1d7c3aeb0d9b0a9036552a06e04581.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199611061416.BAA05200@cs.monash.edu.au> Date: Wed, 6 Nov 1996 12:17:21 +0200 (EET) From: Linus Torvalds Subject: Re: Quake strangeness In-Reply-To: <199611050048.LAA03370@cs.monash.edu.au> On Tue, 5 Nov 1996, Bernd Bernie Meyer wrote: > > Then, I got even sillier and started _another_ copy of Quake on the > ALPHA's local X-Server. And here the strange thing happened: > > While the copy that had to send all its data to the Pentium reached > 16fps, the local copy only reached about 6fps. According to top, they > both got equal CPU percentage; Also according to top (and vmstat), app. > half of the CPU-time was spent in system mode. > > I can't seem to make sense of this --- why is the local copy so much > slower than the remote one? I tried running two local copies, and > they both get app. 20fps, which is as expected. I tried running two > local plus one remote copy, and the local ones became SLOOOOW again. > > Is this a scheduler thing, where the remote Quake process gets scheduled > all the time due to network interrupts? But if so, why does top show all > copies getting equal CPU time? It's probably simply because the time-consuming part of quake is not so much the actual drawing as the _calculations_ it is doing. And with the remote copy, the load is a lot lower. With a local copy of quake, the local load is pretty high, so the local quake binary has trouble getting CPU for calculations, while the remote quake obviously doesn't have that kind of performance problems.. Linus -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com