public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Performance problems
@ 2007-10-26 23:33 Boscovich, Maximiliano
  2007-10-27  9:01 ` Frantisek Hanzlik
  2007-10-27 18:19 ` Frank Cox
  0 siblings, 2 replies; 5+ messages in thread
From: Boscovich, Maximiliano @ 2007-10-26 23:33 UTC (permalink / raw)
  To: linux-msdos

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.



-- 


"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: boscovich@jabberes.org
MSN: joelboscovich@hotmail.com
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Performance problems
  2007-10-26 23:33 Performance problems Boscovich, Maximiliano
@ 2007-10-27  9:01 ` Frantisek Hanzlik
  2007-10-27 18:19 ` Frank Cox
  1 sibling, 0 replies; 5+ messages in thread
From: Frantisek Hanzlik @ 2007-10-27  9:01 UTC (permalink / raw)
  To: Boscovich, Maximiliano; +Cc: linux-msdos

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.
> 

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Performance problems
  2007-10-26 23:33 Performance problems Boscovich, Maximiliano
  2007-10-27  9:01 ` Frantisek Hanzlik
@ 2007-10-27 18:19 ` Frank Cox
  2007-10-28 21:21   ` Frank Cox
  1 sibling, 1 reply; 5+ messages in thread
From: Frank Cox @ 2007-10-27 18:19 UTC (permalink / raw)
  To: Boscovich, Maximiliano; +Cc: linux-msdos

On Fri, 26 Oct 2007 20:33:44 -0300
"Boscovich, Maximiliano" <mboscovich@rectorado.unl.edu.ar> wrote:

> 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....

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Performance problems
  2007-10-27 18:19 ` Frank Cox
@ 2007-10-28 21:21   ` Frank Cox
  2007-11-06 15:40     ` Boscovich, Maximiliano
  0 siblings, 1 reply; 5+ messages in thread
From: Frank Cox @ 2007-10-28 21:21 UTC (permalink / raw)
  To: Boscovich, Maximiliano, linux-msdos

On Sat, 27 Oct 2007 12:19:54 -0600
Frank Cox <theatre@sasktel.net> 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
        ralf@cs.cmu.edu
        1:129/26.1
END 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


-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Performance problems
  2007-10-28 21:21   ` Frank Cox
@ 2007-11-06 15:40     ` Boscovich, Maximiliano
  0 siblings, 0 replies; 5+ messages in thread
From: Boscovich, Maximiliano @ 2007-11-06 15:40 UTC (permalink / raw)
  To: linux-msdos

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frank Cox escribió:
> On Sat, 27 Oct 2007 12:19:54 -0600
> Frank Cox <theatre@sasktel.net> 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
>         ralf@cs.cmu.edu
>         1:129/26.1
> END 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
>
>
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: boscovich@jabberes.org
MSN: joelboscovich@hotmail.com
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-06 15:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 23:33 Performance problems Boscovich, Maximiliano
2007-10-27  9:01 ` Frantisek Hanzlik
2007-10-27 18:19 ` Frank Cox
2007-10-28 21:21   ` Frank Cox
2007-11-06 15:40     ` Boscovich, Maximiliano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox