* Dosemu Slower than CMD
@ 2008-03-15 16:47 Eddy Setyawan
2008-03-15 19:54 ` Reinhard Karcher
2008-03-16 10:41 ` Frantisek Hanzlik
0 siblings, 2 replies; 14+ messages in thread
From: Eddy Setyawan @ 2008-03-15 16:47 UTC (permalink / raw)
To: linux-msdos
Hello DosEmu Mailing list,
I am new here... i have a problem i hope guys here can assist me solve it
i try to run application made using clipper when run in w*nd*ws cmd
command, and do some process it is a little bit slower user can feel
it have a delay but not more that 1 secs, but when i run it in dosemu,
it take more than 5 secs i don't know where this problem cause,
because the application is made by other person
any suggestion? or perhaps do i need to attach the application so you
guys can try on ?
thanks
NB:
w*nd*ws is run on Pentium 3 733 machine
dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
regards,
Eddy Setyawan
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-15 16:47 Dosemu Slower than CMD Eddy Setyawan
@ 2008-03-15 19:54 ` Reinhard Karcher
2008-03-16 2:22 ` Eddy Setyawan
2008-03-16 10:41 ` Frantisek Hanzlik
1 sibling, 1 reply; 14+ messages in thread
From: Reinhard Karcher @ 2008-03-15 19:54 UTC (permalink / raw)
To: linux-msdos
Eddy Setyawan schrieb:
> i try to run application made using clipper when run in w*nd*ws cmd
> command, and do some process it is a little bit slower user can feel
> it have a delay but not more that 1 secs, but when i run it in dosemu,
> it take more than 5 secs i don't know where this problem cause,
> because the application is made by other person
>
> NB:
> w*nd*ws is run on Pentium 3 733 machine
> dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
>
You probably run a 64-bit linux. In 64-bit mode, the processor can't run
realmode or
16-bit dpmi applications, so dosemu has to emulate the binary programcode.
If you have got an diskimage with an window on it, you could run that
image in kvm.
On my machine, clipper code with many accesses to disk is much faster
when run with kvm
than in dosemu.
The other option would by to run a 32-bit linux, perhaps from a life cd.
Reinhard
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-15 19:54 ` Reinhard Karcher
@ 2008-03-16 2:22 ` Eddy Setyawan
2008-03-16 7:23 ` Rafał Cygnarowski
0 siblings, 1 reply; 14+ messages in thread
From: Eddy Setyawan @ 2008-03-16 2:22 UTC (permalink / raw)
To: linux-msdos
Dear All,
Hello Mr. Bambang, your guess I am from Indonesia is correct :)
perhaps you recognized from my email address or my bad english :p
anyway i can't change for hogthreshold option, it will eat more cpu
resource and i will run more than one session dos in one computer, so
i think it will eat all CPU
Hello Mr. Reinhard, My machine is 64bit but i'm run Fedora 8 using 386
arch. I can't use KVM either i need to run clipper app in many session
not only one so sharing disk is imposible except using network drive.
I found information about samba mounting in dosemu is this can
increase disk access performance?
regards,
Eddy Setyawan
On 3/16/08, Reinhard Karcher <rkarcher@frey.de> wrote:
> Eddy Setyawan schrieb:
>
> > i try to run application made using clipper when run in w*nd*ws cmd
> > command, and do some process it is a little bit slower user can feel
> > it have a delay but not more that 1 secs, but when i run it in dosemu,
> > it take more than 5 secs i don't know where this problem cause,
> > because the application is made by other person
> >
>
> > NB:
> > w*nd*ws is run on Pentium 3 733 machine
> > dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
> >
>
>
> You probably run a 64-bit linux. In 64-bit mode, the processor can't run
> realmode or
> 16-bit dpmi applications, so dosemu has to emulate the binary programcode.
> If you have got an diskimage with an window on it, you could run that
> image in kvm.
> On my machine, clipper code with many accesses to disk is much faster
> when run with kvm
> than in dosemu.
> The other option would by to run a 32-bit linux, perhaps from a life cd.
>
> Reinhard
>
>
> --
> 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] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-16 2:22 ` Eddy Setyawan
@ 2008-03-16 7:23 ` Rafał Cygnarowski
0 siblings, 0 replies; 14+ messages in thread
From: Rafał Cygnarowski @ 2008-03-16 7:23 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 718 bytes --]
Dnia niedziela, 16 marca 2008, Eddy Setyawan napisał:
> I found information about samba mounting in dosemu is this can
> increase disk access performance?
It depends on what you are using now for file sharing. If you use e.g.
mars_nwe or netware, then yes it can. Remember that "samba for dosemu" wasn't
tested on 64bit distributions yet. I successfully run it on 32 bit
distribution with hogthreshold = 1. Of course if your application needs more
cpu power eg. for counting sth, hogthreshold = 1 could be not enough.
Anyway... you should consider switching to 32 bit distribution if you are
aware of emulation accuracy and speed.
Regards,
--
Rafał Cygnarowski
rafilists [at] gmail [dot] com
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-15 16:47 Dosemu Slower than CMD Eddy Setyawan
2008-03-15 19:54 ` Reinhard Karcher
@ 2008-03-16 10:41 ` Frantisek Hanzlik
2008-03-16 13:35 ` Eddy Setyawan
2008-05-29 17:19 ` Eddy Setyawan
1 sibling, 2 replies; 14+ messages in thread
From: Frantisek Hanzlik @ 2008-03-16 10:41 UTC (permalink / raw)
To: Eddy Setyawan; +Cc: linux-msdos
- When is section of Your program slow, it does any CPU-intensive task,
or rather I/O intensive?
- Your DOS files are on native DOS partition, or on Linux filesystem?
- application is slow always, or only sometimes?
- Is slow only when there runs multiple those clipper apps, or is
slow when run only one too?
- You run DOSEMU under console or X Window?
- Did You run any diagnostic tools, e.g. "top", "sar",...?
Franta Hanzlik
Eddy Setyawan wrote:
> Hello DosEmu Mailing list,
>
> I am new here... i have a problem i hope guys here can assist me solve it
>
> i try to run application made using clipper when run in w*nd*ws cmd
> command, and do some process it is a little bit slower user can feel
> it have a delay but not more that 1 secs, but when i run it in dosemu,
> it take more than 5 secs i don't know where this problem cause,
> because the application is made by other person
> any suggestion? or perhaps do i need to attach the application so you
> guys can try on ?
>
> thanks
>
> NB:
> w*nd*ws is run on Pentium 3 733 machine
> dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
>
> regards,
> Eddy Setyawan
> --
> 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
>
> !DSPAM:47dbfd85272941804284693!
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-16 10:41 ` Frantisek Hanzlik
@ 2008-03-16 13:35 ` Eddy Setyawan
2008-03-16 13:43 ` Eddy Setyawan
2008-04-01 18:33 ` Mike McCarty
2008-05-29 17:19 ` Eddy Setyawan
1 sibling, 2 replies; 14+ messages in thread
From: Eddy Setyawan @ 2008-03-16 13:35 UTC (permalink / raw)
To: linux-msdos
Dear All,
Hello Frantisek, my program going to slow when clipper application
entering section reading a lot of data in database, CPU is going up
eating all available resource, but I/O activity i don't know how to
check it ?
I am using Linux filesystem using lredir command.
When doing reading or writing simple database it run fast, as fast as
CMD do, also i try to run it several instance it still acceptable
fast, not for high load process, i just run it to test only one
instance but it slow. example when run it in CMD it takes 1-3 secs but
using dosemu it takes 10-15secs
Application is run under console mode
diagnostic using top application show high activity on system CPU
I've upload the application if some one can help me to see it what is wrong?
links is here : http://www.megaupload.com/?d=NDQXRF1X
please edit config.sys first set files = 200 and buffer = 100
to run application enter folder MITRA\PRG run SL.EXE
when run login information is Name = A, password = 1234
the process I mean is at menu Master -> Persediaan -> Ubah Harga Jual,
wait until data is show it will take to long than usual.
anyway thanks for all support this mailing list
regards,
Eddy Setyawan
On 3/16/08, Frantisek Hanzlik <franta@hanzlici.cz> wrote:
>
> - When is section of Your program slow, it does any CPU-intensive task,
> or rather I/O intensive?
> - Your DOS files are on native DOS partition, or on Linux filesystem?
> - application is slow always, or only sometimes?
> - Is slow only when there runs multiple those clipper apps, or is
> slow when run only one too?
> - You run DOSEMU under console or X Window?
> - Did You run any diagnostic tools, e.g. "top", "sar",...?
>
> Franta Hanzlik
>
>
> Eddy Setyawan wrote:
> > Hello DosEmu Mailing list,
> >
> > I am new here... i have a problem i hope guys here can assist me solve it
> >
> > i try to run application made using clipper when run in w*nd*ws cmd
> > command, and do some process it is a little bit slower user can feel
> > it have a delay but not more that 1 secs, but when i run it in dosemu,
> > it take more than 5 secs i don't know where this problem cause,
> > because the application is made by other person
> > any suggestion? or perhaps do i need to attach the application so you
> > guys can try on ?
> >
> > thanks
> >
> > NB:
> > w*nd*ws is run on Pentium 3 733 machine
> > dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
> >
> > regards,
> > Eddy Setyawan
>
> > --
> > 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
> >
>
> > !DSPAM:47dbfd85272941804284693!
> >
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-16 13:35 ` Eddy Setyawan
@ 2008-03-16 13:43 ` Eddy Setyawan
2008-04-01 18:33 ` Mike McCarty
1 sibling, 0 replies; 14+ messages in thread
From: Eddy Setyawan @ 2008-03-16 13:43 UTC (permalink / raw)
To: linux-msdos
Dear All,
Sorry, I'm sure many of us not using IE for browser, in case
megaupload using firefox need an add ons, I'm also upload at different
server
http://rapidshare.com/files/99981530/mitra.tar.bz2.html
thanks again
regards,
Eddy Setyawan
On 3/16/08, Eddy Setyawan <eddymilis@teguhabadi.com> wrote:
> Dear All,
> Hello Frantisek, my program going to slow when clipper application
> entering section reading a lot of data in database, CPU is going up
> eating all available resource, but I/O activity i don't know how to
> check it ?
> I am using Linux filesystem using lredir command.
> When doing reading or writing simple database it run fast, as fast as
> CMD do, also i try to run it several instance it still acceptable
> fast, not for high load process, i just run it to test only one
> instance but it slow. example when run it in CMD it takes 1-3 secs but
> using dosemu it takes 10-15secs
> Application is run under console mode
> diagnostic using top application show high activity on system CPU
>
> I've upload the application if some one can help me to see it what is wrong?
> links is here : http://www.megaupload.com/?d=NDQXRF1X
>
> please edit config.sys first set files = 200 and buffer = 100
> to run application enter folder MITRA\PRG run SL.EXE
> when run login information is Name = A, password = 1234
> the process I mean is at menu Master -> Persediaan -> Ubah Harga Jual,
> wait until data is show it will take to long than usual.
>
> anyway thanks for all support this mailing list
>
> regards,
>
> Eddy Setyawan
>
>
> On 3/16/08, Frantisek Hanzlik <franta@hanzlici.cz> wrote:
> >
> > - When is section of Your program slow, it does any CPU-intensive task,
> > or rather I/O intensive?
> > - Your DOS files are on native DOS partition, or on Linux filesystem?
> > - application is slow always, or only sometimes?
> > - Is slow only when there runs multiple those clipper apps, or is
> > slow when run only one too?
> > - You run DOSEMU under console or X Window?
> > - Did You run any diagnostic tools, e.g. "top", "sar",...?
> >
> > Franta Hanzlik
> >
> >
> > Eddy Setyawan wrote:
> > > Hello DosEmu Mailing list,
> > >
> > > I am new here... i have a problem i hope guys here can assist me solve it
> > >
> > > i try to run application made using clipper when run in w*nd*ws cmd
> > > command, and do some process it is a little bit slower user can feel
> > > it have a delay but not more that 1 secs, but when i run it in dosemu,
> > > it take more than 5 secs i don't know where this problem cause,
> > > because the application is made by other person
> > > any suggestion? or perhaps do i need to attach the application so you
> > > guys can try on ?
> > >
> > > thanks
> > >
> > > NB:
> > > w*nd*ws is run on Pentium 3 733 machine
> > > dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
> > >
> > > regards,
> > > Eddy Setyawan
> >
> > > --
> > > 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
> > >
> >
> > > !DSPAM:47dbfd85272941804284693!
> > >
> >
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-16 13:35 ` Eddy Setyawan
2008-03-16 13:43 ` Eddy Setyawan
@ 2008-04-01 18:33 ` Mike McCarty
1 sibling, 0 replies; 14+ messages in thread
From: Mike McCarty @ 2008-04-01 18:33 UTC (permalink / raw)
To: linux-msdos
Eddy Setyawan wrote:
> Dear All,
> Hello Frantisek, my program going to slow when clipper application
> entering section reading a lot of data in database, CPU is going up
> eating all available resource, but I/O activity i don't know how to
> check it ?
You might try top. Also, you might try the system monitor. I use
FC2, and have one under Red Hat-> System Tools -> System Monitor
using Gnome.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-03-16 10:41 ` Frantisek Hanzlik
2008-03-16 13:35 ` Eddy Setyawan
@ 2008-05-29 17:19 ` Eddy Setyawan
2008-05-30 3:53 ` Frantisek Hanzlik
2008-05-30 8:27 ` Frantisek Hanzlik
1 sibling, 2 replies; 14+ messages in thread
From: Eddy Setyawan @ 2008-05-29 17:19 UTC (permalink / raw)
To: Frantisek Hanzlik; +Cc: linux-msdos
hello Frantisek Hanzlik,
On Sun, Mar 16, 2008 at 3:41 AM, Frantisek Hanzlik <franta@hanzlici.cz> wrote:
>
> - When is section of Your program slow, it does any CPU-intensive task,
> or rather I/O intensive?
it run CPU to 100% task, i've ask the programmer who code it, and he
say that process is do so many task but in CMD it run fast even i look
at task manager CPU usage jump to 100% but only less than 1sec using
dosemu it takes more than 10secs
> - Your DOS files are on native DOS partition, or on Linux filesystem?
it is Linux filesystem... i need run on it for sharing each user run it
> - application is slow always, or only sometimes?
only sometimes
> - Is slow only when there runs multiple those clipper apps, or is
I try run only 1 apps it run slow
> slow when run only one too?
> - You run DOSEMU under console or X Window?
run in console bcause my plan is run it remotely with ssh
> - Did You run any diagnostic tools, e.g. "top", "sar",...?
i don't know what is sar, but using "top" show that dosemu process eat
CPU to 100%
>
> Franta Hanzlik
>
> Eddy Setyawan wrote:
>>
>> Hello DosEmu Mailing list,
>>
>> I am new here... i have a problem i hope guys here can assist me solve it
>>
>> i try to run application made using clipper when run in w*nd*ws cmd
>> command, and do some process it is a little bit slower user can feel
>> it have a delay but not more that 1 secs, but when i run it in dosemu,
>> it take more than 5 secs i don't know where this problem cause,
>> because the application is made by other person
>> any suggestion? or perhaps do i need to attach the application so you
>> guys can try on ?
>>
>> thanks
>>
>> NB:
>> w*nd*ws is run on Pentium 3 733 machine
>> dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
>>
>> regards,
>> Eddy Setyawan
>> --
>> 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
>>
>> !DSPAM:47dbfd85272941804284693!
>>
>
--
regards,
Eddy Setyawan
http://eddysetyawan.blogspot.com
+6208123049592
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/IT d--()>+ s++:+ a- C+++@ !ULC++>++++ P L+++(++++)@>++++ !E-- W++@?
N !o K--? w-- !O !M !V PS PE+@ !Y PGP@>++ t+ 5 X !R tv-(--) b DI D+
G++ e++ h--->---- r+++ z+++
------END GEEK CODE BLOCK------
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-05-29 17:19 ` Eddy Setyawan
@ 2008-05-30 3:53 ` Frantisek Hanzlik
2008-05-30 8:27 ` Frantisek Hanzlik
1 sibling, 0 replies; 14+ messages in thread
From: Frantisek Hanzlik @ 2008-05-30 3:53 UTC (permalink / raw)
To: Eddy Setyawan; +Cc: linux-msdos
Hello,
I download Your app (mitra.tar.bz2: sl.exe etc) and configure and run it
as You reccomended in mail from 16-Mar-2008, with config.sys param
"buffers=10" (leaved at dosemu default value - as I/O is cached at Linux
side, I not see any benefit from increasing number of buffers.
And available DOS memory was 630kB for "buffers=1", and only 578 kB for
"buffers=100". Difference in app speed wasn't perceivable.
At PC with 5 years old P4 2.4GHz (Northwood) CPU/1GB RAM/320GB SATA HDD
and dosemu 1.4.0-svn_1844 it take about 6 sec.
At PC with E8200 Core2 Duo 2.66 GHz (Wolfdale) CPU/8GB RAM/750GB SATA HDD
and dosemu 1.4.0.1-4.svn1858 it take about 3 sec.
On both PCs run Fedora 9.
Then I run it with some dosemu debug options (+9#DTEMx - note: this
produce ~ 200MB log file and dosemu must be patched for it, as it log
circular log with limited size - see "src/include/dosemu_debug.h" and
"src/base/misc/utilities.c").
After some logfile analysis I got these results about called functions:
How many
times
called What
======= =========
196624 : int16_0x11-kbd-Check_Enhanced_Keystroke
623 : int21_2ac0-GetDate
623 : int21_2cc0-GetTime
70707 : int21_3f00-ReadFromFile
20035 bx=0x000a (20027x read 12.Byte, 8x read 1024.Byte)
5577 bx=0x000c read 339. bytes
5726 bx=0x000d (5577x read 12.Byte, 149x read 1024.Byte)
36252 bx=0x0009 read 180. Byte
1870 bx=0x0015 read 144. Byte
1247 bx=0x0016 read 12. Byte
70707 : int21_4200-SeekFromStartFile
26850 : int21_5c00-RecordLock
26851 : int21_5c01-RecordUnlock
53701 : int2f_110a-network_lock/unlock
70707 : int2f_1108-network_read-from-file
Maybe this program section is slow because it has many read attempts,
each of them also do seek in file and lock/unlock functions. And because
it is on Linux native partition, these I/O go over INT2F network redirector
too. Tried You run this app under Windows from remote share?
Eddy Setyawan wrote:
> hello Frantisek Hanzlik,
>
> On Sun, Mar 16, 2008 at 3:41 AM, Frantisek Hanzlik<franta@hanzlici.cz> wrote:
>> - When is section of Your program slow, it does any CPU-intensive task,
>> or rather I/O intensive?
>
> it run CPU to 100% task, i've ask the programmer who code it, and he
> say that process is do so many task but in CMD it run fast even i look
> at task manager CPU usage jump to 100% but only less than 1sec using
> dosemu it takes more than 10secs
>
>> - Your DOS files are on native DOS partition, or on Linux filesystem?
>
> it is Linux filesystem... i need run on it for sharing each user run it
>
>> - application is slow always, or only sometimes?
>
> only sometimes
Only sometimes? It's possible somehow simulate this?
>
>> - Is slow only when there runs multiple those clipper apps, or is
>
> I try run only 1 apps it run slow
>
>> slow when run only one too?
>> - You run DOSEMU under console or X Window?
>
> run in console bcause my plan is run it remotely with ssh
>
>> - Did You run any diagnostic tools, e.g. "top", "sar",...?
>
> i don't know what is sar, but using "top" show that dosemu process eat
> CPU to 100%
At these short interval it maybe OK.
>
>> Franta Hanzlik
>>
>> Eddy Setyawan wrote:
>>> Hello DosEmu Mailing list,
>>>
>>> I am new here... i have a problem i hope guys here can assist me solve it
>>>
>>> i try to run application made using clipper when run in w*nd*ws cmd
>>> command, and do some process it is a little bit slower user can feel
>>> it have a delay but not more that 1 secs, but when i run it in dosemu,
>>> it take more than 5 secs i don't know where this problem cause,
>>> because the application is made by other person
>>> any suggestion? or perhaps do i need to attach the application so you
>>> guys can try on ?
>>>
>>> thanks
>>>
>>> NB:
>>> w*nd*ws is run on Pentium 3 733 machine
>>> dosemu (v. 1.4.0) is run on Linux Fedora 8 on AMD 64 3000+ machine
>>>
>>> regards,
>>> Eddy Setyawan
>>> --
Franta Hanzlik
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-05-29 17:19 ` Eddy Setyawan
2008-05-30 3:53 ` Frantisek Hanzlik
@ 2008-05-30 8:27 ` Frantisek Hanzlik
2008-05-30 8:40 ` Eddy Setyawan
1 sibling, 1 reply; 14+ messages in thread
From: Frantisek Hanzlik @ 2008-05-30 8:27 UTC (permalink / raw)
To: Eddy Setyawan; +Cc: linux-msdos
As I wrote in my previous mail, in tested program segment is about
200000 times called INT0x16 Fn 0x11 : Check_Enhanced_Keystroke.
In corresponding dosemu routines in "base/bios/int16.c" are called
some delay functions - maybe these may add some delay to program
execution.
On my system CLK_TCK=100 (ticks/sec), thus JIFFIE_TIME=10000 and
INT2F_IDLE_USECS=80000 (=> 80msec delay).
But as I wrote, on my faster PC exec time was 3 sec, thus delay
added in INT16 can't be longer.
Bart Oldeman probably can say more about this.
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-05-30 8:27 ` Frantisek Hanzlik
@ 2008-05-30 8:40 ` Eddy Setyawan
2008-05-30 8:56 ` Frantisek Hanzlik
0 siblings, 1 reply; 14+ messages in thread
From: Eddy Setyawan @ 2008-05-30 8:40 UTC (permalink / raw)
To: Frantisek Hanzlik; +Cc: linux-msdos
hello Frantistek,
Which segment you try ? I mean slow is at menu Master -> Persediaan ->
Ubah Harga Jual, while entering this section application cpu usage
jump to 100% and waiting to load all data is takes time than CMD
does... even at windows i try it with shared drive
some alert dialog also eat CPU but after search around i found that
clipper function for alert dialog has some bug
On Fri, May 30, 2008 at 3:27 PM, Frantisek Hanzlik <franta@hanzlici.cz> wrote:
> As I wrote in my previous mail, in tested program segment is about
> 200000 times called INT0x16 Fn 0x11 : Check_Enhanced_Keystroke.
> In corresponding dosemu routines in "base/bios/int16.c" are called
> some delay functions - maybe these may add some delay to program
> execution.
> On my system CLK_TCK=100 (ticks/sec), thus JIFFIE_TIME=10000 and
> INT2F_IDLE_USECS=80000 (=> 80msec delay).
> But as I wrote, on my faster PC exec time was 3 sec, thus delay
> added in INT16 can't be longer.
>
> Bart Oldeman probably can say more about this.
>
--
regards,
Eddy Setyawan
http://eddysetyawan.blogspot.com
+6208123049592
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/IT d--()>+ s++:+ a- C+++@ !ULC++>++++ P L+++(++++)@>++++ !E-- W++@?
N !o K--? w-- !O !M !V PS PE+@ !Y PGP@>++ t+ 5 X !R tv-(--) b DI D+
G++ e++ h--->---- r+++ z+++
------END GEEK CODE BLOCK------
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: Dosemu Slower than CMD
2008-05-30 8:40 ` Eddy Setyawan
@ 2008-05-30 8:56 ` Frantisek Hanzlik
[not found] ` <34cfb2e90805300203t1f904938q60405bbbe3e035a2@mail.gmail.com>
0 siblings, 1 reply; 14+ messages in thread
From: Frantisek Hanzlik @ 2008-05-30 8:56 UTC (permalink / raw)
To: Eddy Setyawan, linux-msdos
Yes, I tried this section. Times are from pres Enter key at
"Ubah Harga Jual" to obtain some data - these appear as:
Browse Search Edit Add Del Print Restrukturisasi
Melihat data-data dalam bentuk daftar
║A CV. MITRA BANGUNAN 20/03/2008║
┌────────────────────────────── GROUP/ SUB GROUP ──────────────────────────────┐
│ Kode Group : 00001 │
│ Nama : PT NIPSEA PAINT │
│ Kd. Group Induk : ( ) │
│ Jenis Group : F ( Induk ) Level : 1 │
│ Harga Sales : 0 Ubah Harga : 2 Tidak │
│ Harga Toko : 0 │
│ Terakhir Ganti : Oleh : │
│───────────────┬────────────────────────────────────────┬──────────┬──────────│
│Kode Barang │ Nama Barang │ H. Sales │ H. Toko │
│1000001 │KIMEX CAT TEMBOK 5KG BS9102SS WHITE │ 0│ 0│
│1000002 │KIMEX CAT TEMBOK 5KG 680 COTTON WHITE │ 0│ 0│
│1000003 │KIMEX CAT TEMBOK 5KG BS9102 WHITE │ 0│ 0│
│1000004 │KIMEX CAT TEMBOK 5KG 900 EXTRA WHITE │ 0│ 0│
│1000005 │KIMEX CAT TEMBOK 5KG 660SB BRILLIANT WHI│ 0│ 0│
│1000006 │KIMEX CAT TEMBOK 5KG 600 DIVINITY │ 0│ 0│
│1000007 │KIMEX CAT TEMBOK 5KG 604 SPANISH WHITE │ 0│ 0│
│1000008 │KIMEX CAT TEMBOK 5KG 603 SUSU │ 0│ 0│
│1000009 │KIMEX CAT TEMBOK 5KG 607 BROKEN WHITE │ 0│ 0│
│1000010 │KIMEX CAT TEMBOK 5KG 616 CREAM │ 0│ 0│
└──────────────────────────────────────────────────────────────────────────────┘
Esc˙Quit ←→,Enter˙Menu Home˙First PgUp˙Prev PgDn˙Next End˙Last
CPU load I not measure, but as I said, 100% load may be OK.
Note I must set DOS date to March 2008.
Franta
Eddy Setyawan wrote:
> hello Frantistek,
> Which segment you try ? I mean slow is at menu Master -> Persediaan ->
> Ubah Harga Jual, while entering this section application cpu usage
> jump to 100% and waiting to load all data is takes time than CMD
> does... even at windows i try it with shared drive
>
> some alert dialog also eat CPU but after search around i found that
> clipper function for alert dialog has some bug
>
> On Fri, May 30, 2008 at 3:27 PM, Frantisek Hanzlik<franta@hanzlici.cz> wrote:
>> As I wrote in my previous mail, in tested program segment is about
>> 200000 times called INT0x16 Fn 0x11 : Check_Enhanced_Keystroke.
>> In corresponding dosemu routines in "base/bios/int16.c" are called
>> some delay functions - maybe these may add some delay to program
>> execution.
>> On my system CLK_TCK=100 (ticks/sec), thus JIFFIE_TIME=10000 and
>> INT2F_IDLE_USECS=80000 (=> 80msec delay).
>> But as I wrote, on my faster PC exec time was 3 sec, thus delay
>> added in INT16 can't be longer.
>>
>> Bart Oldeman probably can say more about this.
>>
>
>
>
--
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] 14+ messages in thread
* Re: Dosemu Slower than CMD
[not found] ` <34cfb2e90805300203t1f904938q60405bbbe3e035a2@mail.gmail.com>
@ 2008-05-31 8:15 ` Frantisek Hanzlik
0 siblings, 0 replies; 14+ messages in thread
From: Frantisek Hanzlik @ 2008-05-31 8:15 UTC (permalink / raw)
To: Eddy Setyawan; +Cc: linux-msdos
I just haven't no win machine, then I can't compare program response under
them.
However You can compile dosemu with log timestamping (see conditional
compilation and SHOW_TIME and DBG_TIME identifiers in module
"src/base/misc/utilities.c") and try find Your application/dosemu code
bottleneck.
IMHO when Your app do any sort of intensive DOS/BIOS calls, then differences
between DOS/win and dosemu speed may be noticeable and scale 1:3 - 1:5
may be "normal", as their appropriate environments are different.
You may also tried Your app under clear FreeDOS or other DOS environment.
Franta Hanzlik
Eddy Setyawan wrote:
> Times for load this section is more faster when i run it on windows using CMD
> any idea to tweak dosemu to make this section faster like CMD does
>
> quote "Note I must set DOS date to March 2008."
> i think so because this app have closing month mechanism
>
> On Fri, May 30, 2008 at 3:56 PM, Frantisek Hanzlik<franta@hanzlici.cz> wrote:
>> Yes, I tried this section. Times are from pres Enter key at
>> "Ubah Harga Jual" to obtain some data - these appear as:
>>
>> Browse Search Edit Add Del Print Restrukturisasi
>> Melihat data-data dalam bentuk daftar
>> ¨UA CV. MITRA BANGUNAN
>> 20/03/2008¨U
>> ©°©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤ GROUP/ SUB GROUP
>> ©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©´
>> ©¦ Kode Group : 00001
>> ©¦
>> ©¦ Nama : PT NIPSEA PAINT
>> ©¦
>> ©¦ Kd. Group Induk : ( )
>> ©¦
>> ©¦ Jenis Group : F ( Induk ) Level : 1
>> ©¦
>> ©¦ Harga Sales : 0 Ubah Harga : 2 Tidak
>> ©¦
>> ©¦ Harga Toko : 0
>> ©¦
>> ©¦ Terakhir Ganti : Oleh :
>> ©¦
>> ©¦©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ð©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ð©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©Ð©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¦
>> ©¦Kode Barang ©¦ Nama Barang ©¦ H. Sales ©¦ H.
>> Toko ©¦
>> ©¦1000001 ©¦KIMEX CAT TEMBOK 5KG BS9102SS WHITE ©¦ 0©¦
>> 0©¦
>> ©¦1000002 ©¦KIMEX CAT TEMBOK 5KG 680 COTTON WHITE ©¦ 0©¦
>> 0©¦
>> ©¦1000003 ©¦KIMEX CAT TEMBOK 5KG BS9102 WHITE ©¦ 0©¦
>> 0©¦
>> ©¦1000004 ©¦KIMEX CAT TEMBOK 5KG 900 EXTRA WHITE ©¦ 0©¦
>> 0©¦
>> ©¦1000005 ©¦KIMEX CAT TEMBOK 5KG 660SB BRILLIANT WHI©¦ 0©¦
>> 0©¦
>> ©¦1000006 ©¦KIMEX CAT TEMBOK 5KG 600 DIVINITY ©¦ 0©¦
>> 0©¦
>> ©¦1000007 ©¦KIMEX CAT TEMBOK 5KG 604 SPANISH WHITE ©¦ 0©¦
>> 0©¦
>> ©¦1000008 ©¦KIMEX CAT TEMBOK 5KG 603 SUSU ©¦ 0©¦
>> 0©¦
>> ©¦1000009 ©¦KIMEX CAT TEMBOK 5KG 607 BROKEN WHITE ©¦ 0©¦
>> 0©¦
>> ©¦1000010 ©¦KIMEX CAT TEMBOK 5KG 616 CREAM ©¦ 0©¦
>> 0©¦
>> ©¸©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¤©¼
>> Esc¨BQuit ¡û¡ú,Enter¨BMenu Home¨BFirst PgUp¨BPrev PgDn¨BNext End¨BLast
>>
>> CPU load I not measure, but as I said, 100% load may be OK.
>>
>> Note I must set DOS date to March 2008.
>>
>> Franta
>>
>> Eddy Setyawan wrote:
>>> hello Frantistek,
>>> Which segment you try ? I mean slow is at menu Master -> Persediaan ->
>>> Ubah Harga Jual, while entering this section application cpu usage
>>> jump to 100% and waiting to load all data is takes time than CMD
>>> does... even at windows i try it with shared drive
>>>
>>> some alert dialog also eat CPU but after search around i found that
>>> clipper function for alert dialog has some bug
>>>
>>> On Fri, May 30, 2008 at 3:27 PM, Frantisek Hanzlik<franta@hanzlici.cz>
>>> wrote:
>>>> As I wrote in my previous mail, in tested program segment is about
>>>> 200000 times called INT0x16 Fn 0x11 : Check_Enhanced_Keystroke.
>>>> In corresponding dosemu routines in "base/bios/int16.c" are called
>>>> some delay functions - maybe these may add some delay to program
>>>> execution.
>>>> On my system CLK_TCK=100 (ticks/sec), thus JIFFIE_TIME=10000 and
>>>> INT2F_IDLE_USECS=80000 (=> 80msec delay).
>>>> But as I wrote, on my faster PC exec time was 3 sec, thus delay
>>>> added in INT16 can't be longer.
>>>>
>>>> Bart Oldeman probably can say more about this.
>>>>
--
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] 14+ messages in thread
end of thread, other threads:[~2008-05-31 8:15 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-15 16:47 Dosemu Slower than CMD Eddy Setyawan
2008-03-15 19:54 ` Reinhard Karcher
2008-03-16 2:22 ` Eddy Setyawan
2008-03-16 7:23 ` Rafał Cygnarowski
2008-03-16 10:41 ` Frantisek Hanzlik
2008-03-16 13:35 ` Eddy Setyawan
2008-03-16 13:43 ` Eddy Setyawan
2008-04-01 18:33 ` Mike McCarty
2008-05-29 17:19 ` Eddy Setyawan
2008-05-30 3:53 ` Frantisek Hanzlik
2008-05-30 8:27 ` Frantisek Hanzlik
2008-05-30 8:40 ` Eddy Setyawan
2008-05-30 8:56 ` Frantisek Hanzlik
[not found] ` <34cfb2e90805300203t1f904938q60405bbbe3e035a2@mail.gmail.com>
2008-05-31 8:15 ` Frantisek Hanzlik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox