Performance problems
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 : 1vendor_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 : yesfpu_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 : 64cache_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.
Signature · 18 lines
"Si hablas con Dios, eres religioso; Sí el habla contigo, eres un psicótico."
- El Doctor House parafraseando a Thomas Szasz.
-----------------------------------------------------------------
Boscovich, Maximiliano
GNU/Linux Counter user #402782
Blog: http://maximilianoboscovich.wordpress.com
Jabber: [email protected]
MSN: [email protected]
GnuPG Public Key: http://keyserver.veridis.com:11371/export?id=-8543752951164951938&created=1152911209000
Command in GNU/Linux: gpg --keyserver wwwkeys.eu.pgp.net --search-keys mboscovich
Key fingerprint: 7A88 1636 BDA4 F680 AB00 0D8E 896E 7DF5 291E 227E
------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlHello 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
Quoted 105 lines · Maximiliano
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,50Always %system is more than 70% .
The server is a HP Proliat coreduo, and
/proc/cpuinfoshow 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 : yesfpu_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 lmconstant_tscpni monitords_cplvmx est tm2 cx16 xtprlahf_lm
bogomips : 4669.09
clflush size : 64cache_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.
Quoted 1 line · Maximiliano
We are running FoxPro compiled application and it really slow on performance.
I wonder if TAME would help.
It seems to me that there was another program that does pretty much the same thing as TAME but without the send-money nag screen, i.e. a free program. But I can't recall its name at the moment....
Signature · 1 line
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
Quoted 3 lines · On Sat, 27 Oct 2007 12:19:54 -0600 Frank Cox <[email protected]> wrote:
It seems to me that there was another program that does pretty much the same thing as TAME but without the send-money nag screen, i.e. a free program. But I can't recall its name at the moment....
I found it.
Here is the readme file:
QUOTE:
DVPTAME Released to the Public Domain, 1991.
DVPTAME lets DESQview suspend programs before their time slice is up if they are frequently polling the keyboard to check for a keystroke. You specify how many times the program is allowed to check for a keystroke in one clock tick (1/18 of a second), and DESQview does the rest. No extra programs to load, no shared programs, etc.
Usage 1: DVPTAME = <dvp-file>
Report the current polling limit
Usage 2: DVPTAME <n> <dvp-file>
Set the polling limit to <n> keyboard polls per clock tick
In both cases, <dvp-file> is the FULL filename of the .DVP for the program you wish to tame.
In many cases, DVPTAME will perform just as well as the shareware TAME. However, TAME can suspend programs which don't poll the keyboard often but make their idleness known in other ways, and can tame programs which poll the keyboard frequently even while they are still doing useful work.
Ralf Brown
[email protected]
1:129/26.1END OF QUOTE
As you can see, it appears to be DESQvew-specific at the moment. However, complete asm source code is included in the archive that I have so someone who is more incentivized than I am at the moment may be able to make it work with DOSEMU.
DVPTAME doesn't appear to be easily available online at the moment; at least, Google didn't find it for me.
Accordingly, I have put it online here for anyone who may want to take a look at it:
http://www.melvilletheatre.com/dvptame.tar.bz2
Signature · 1 line
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 4 lines · Frank Cox
Quoted 1 line · On Sat, 27 Oct 2007 12:19:54 -0600 Frank Cox <[email protected]> wrote:
It seems to me that there was another program that does pretty much
the same
Quoted 1 line
Quoted 1 line
thing as TAME but without the send-money nag screen, i.e. a free
program. But
Quoted 30 lines
Quoted 1 line
I can't recall its name at the moment....
I found it.
Here is the readme file:
QUOTE:
DVPTAME Released to the Public Domain, 1991.DVPTAME lets DESQview suspend programs before their time slice is up if they are frequently polling the keyboard to check for a keystroke. You specify how many times the program is allowed to check for a keystroke in one clock tick (1/18 of a second), and DESQview does the rest. No extra programs to load, no shared programs, etc.
Usage 1: DVPTAME = <dvp-file>
Report the current polling limitUsage 2: DVPTAME <n> <dvp-file>
Set the polling limit to <n> keyboard polls per clock tickIn both cases, <dvp-file> is the FULL filename of the .DVP for the program you wish to tame.
In many cases, DVPTAME will perform just as well as the shareware TAME. However, TAME can suspend programs which don't poll the keyboard often but make their idleness known in other ways, and can tame programs which poll the keyboard frequently even while they are still doing useful work.
Quoted 7 lines
Ralf Brown [email protected] 1:129/26.1END OF QUOTE
As you can see, it appears to be DESQvew-specific at the moment. However, complete asm source code is included in the archive that I have so
someone who
Quoted 1 line
is more incentivized than I am at the moment may be able to make it
work with
Quoted 3 lines
DOSEMU.
DVPTAME doesn't appear to be easily available online at the moment; at
least,
Quoted 3 lines
Google didn't find it for me.
Accordingly, I have put it online here for anyone who may want to take
a look
Quoted 5 lines
at it:
Thanks for all comments!!, i solved it!, the problem was hogthreshold it was 0, now i put it in 1 and all it's ok. Thanks very much !.
- --
"One of the penalties for refusing to participate in politics is
that you end up being governed by your
inferiors."
- - Plato
- ----------------------------------------------------------------- Boscovich, Maximiliano
GNU/Linux Counter user #402782
Blog: http://maximilianoboscovich.wordpress.com
Jabber: [email protected]
MSN: [email protected]
GnuPG Public Key:
http://keyserver.veridis.com:11371/export?id=-8543752951164951938&created=1152911209000
Command in GNU/Linux: gpg --keyserver wwwkeys.eu.pgp.net
- --search-keys mboscovich
Key fingerprint: 7A88 1636 BDA4 F680 AB00 0D8E 896E 7DF5 291E 227E
- ------------------------------------------------------------------ -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHMIrWiW599SkeIn4RAjYWAKCDYMzq93SxknI+X+pf8hGRTBWpgwCcCgu3 BLTmaO87NYObT/udyCoYdGY=
=fswD
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html