From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Bueno Subject: Re: Performance problem Date: Mon, 22 Apr 2002 16:23:29 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <3CC41CE1.78F7CDF@trader.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: List-Id: Content-Type: text/plain; charset="iso-8859-1" To: g.pavlin@gmx.at Cc: linux-admin@vger.kernel.org Gregor Pavlin a =E9crit : >=20 > Hi, >=20 > I'm trying to configure a small, embedded Linux system (Pentium III > 1000MHz), that supports Java+X-Windows. In any case, the Java applica= tion > runs very slowly. Even worse, the same application runs on a Linux-sy= stem > with a (Pentium III 450MHz)twice as fast. >=20 > Initially I thought that it was the X-server configuration problem bu= t now I > guess that it has to do with scheduling. Namely, when I checked the > processes with "top" on both systems and got interesting results: >=20 > System with (Pentium III 1000MHz): >=20 > Java stuff was assigned less than 30% of the CPU > X windows used more than 60% of the CPU resources. >=20 > System with (Pentium III 450MHz): >=20 > Java more than 80% of the CPU > X windows few % of the CPU resources. >=20 > In order to influence the CPU sharing on the slow computer (Pentium I= II > 1000MHz) I tryed "nice --20 /$PATH/java-application". However, this d= oesn't > result in a significant improvement in performance. >=20 > Therefore I have the following questions: >=20 > 1.) Can this be a scheduler's problem? >=20 > 2.) If so, are there any other ways I can influence the scheduler, e.= g. the > policy without recompiling the Kernel? >=20 > 3.) I'm using a read-only mounted file systems with about 10 MB RAM-d= isk and > no Swapping. Could these features be a problem in the context of thre= ads and > X-Windows? >=20 > Thank you in advance. >=20 > Regards, > Gregor >=20 > ---------------------------- >=20 > Gregor Pavlin >=20 > email: g.pavlin@gmx.at > Tel.:++43 316 244233 > ++43 316 289402 > Fax.:++43 316 244243 >=20 > Kalsdorferstr. 41, > A-8073, Feldkirchen bei Graz > Austria >=20 Hi, What makes you think that this is NOT an Xserver problem ? What you describe would be normal if your P450 has an accelerated video board with an optimised Xserver and your P1000 an unaccelerated VGA Xserver. Have you tried to compare Xwindow graphics performance on your machines ? Some X benchmark program (xbench) could be useful. Hope this helps -- Joseph Bueno NetClub/Trader.com - To unsubscribe from this list: send the line "unsubscribe linux-admin" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html