From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frantisek Hanzlik Subject: Re: Performance problems Date: Sat, 27 Oct 2007 11:01:03 +0200 Message-ID: <4722FE4F.3070708@hanzlici.cz> References: <47227958.4060804@rectorado.unl.edu.ar> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47227958.4060804@rectorado.unl.edu.ar> Sender: linux-msdos-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: "Boscovich, Maximiliano" Cc: linux-msdos@vger.kernel.org Hello Maximiliano, Your dosemu.conf seems normal. Did You verified (by top/ps), that system load is caused by "dosemu.bin" processes? How load increase with increasing number of dosemu clients? I run several servers with dosemu, both 1.2.2 and 1.4 version, with 5-10 users concurrently running, without load problems. Curiously, we have one DOS app too, which is able take almost 100% CPU time - when is configured for using its own screensaver. When this screensaver start, this was able eat almost all CPU power. Disabling this feature, all work OK. Best regards, Franta Hanzlik Boscovich, Maximiliano wrote: > Hi People, > > We are running FoxPro compiled application and it really slow on performance. > We have 15 users running dosemu ( version 1.4.0+svn.1828-1 ) in the same server, > with freedos ( "FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00]") > > and the statistics from sysstat are: > > 09:45:02 CPU %user %nice %system %iowait %steal > %idle > 09:55:06 all 28,68 0,00 71,32 0,00 0,00 > 0,00 > 10:05:02 all 28,81 0,00 71,19 0,00 0,00 > 0,00 > 10:15:20 all 26,96 0,00 73,03 0,00 0,00 > 0,01 > 10:25:02 all 26,42 0,00 73,24 0,00 0,00 > 0,34 > 10:35:03 all 26,59 0,00 71,90 0,00 0,00 > 1,50 > > Always %system is more than 70% . > > The server is a HP Proliat coreduo, and /proc/cpuinfo show this: > > mboscovich@psico:~$ cat /proc/cpuinfo > processor : 0 > vendor_id : GenuineIntel > cpu family : 6 > model : 15 > model name : Intel(R) Xeon(R) CPU 5120 @ 1.86GHz > stepping : 6 > cpu MHz : 1866.678 > cache size : 4096 KB > physical id : 0 > siblings : 1 > core id : 0 > cpu cores : 1 > fpu : yes > fpu_exception : yes > cpuid level : 10 > wp : yes > flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm > bogomips : 4669.09 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > processor : 1 > vendor_id : GenuineIntel > cpu family : 6 > model : 15 > model name : Intel(R) Xeon(R) CPU 5120 @ 1.86GHz > stepping : 6 > cpu MHz : 1866.678 > cache size : 4096 KB > physical id : 1 > siblings : 1 > core id : 0 > cpu cores : 1 > fpu : yes > fpu_exception : yes > cpuid level : 10 > wp : yes > flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm > bogomips : 4669.09 > clflush size : 64 > cache_alignment : 64 > address sizes : 36 bits physical, 48 bits virtual > power management: > > The Distro is Debian GNU/Linux, kernel : > > Linux elmu 2.6.22-2-686 #1 SMP Fri Aug 31 00:24:01 UTC 2007 i686 GNU/Linux > > > The configuration is : > > cat /etc/dosemu/dosemu.conf > > $_cpu = "80686" > $_cpu_emu = "off" > $_rdtsc = (on) > $_mathco = (off) > $_hogthreshold = (1) > $_full_file_locks = (off) > $_xms = (16384) > $_ems = (0) > $_dpmi = (0x5000) > $_joy_device = "" > $_printer_timeout = (20) > $_speaker = "off" > $_sound = (off) > $_X_title = "Sipefco on GNU/Linux" > $_X_font = "-xos4-terminus-bold-r-normal-*-*-240-*-*-c-*-ibm-cp850" > $_X_mitshm = (off) > $_X_vgaemu_memsize = (512) > > The users connects to the server with ssh -X. > > Any idea how to improve the performance?. > > Well, Thanks and sorry for my english, i'm from Argentina. >