From: Frantisek Hanzlik <franta@hanzlici.cz>
To: Eddy Setyawan <eddymilis@teguhabadi.com>
Cc: linux-msdos@vger.kernel.org
Subject: Re: Dosemu Slower than CMD
Date: Sat, 31 May 2008 10:15:47 +0200 [thread overview]
Message-ID: <48410933.4020101@hanzlici.cz> (raw)
In-Reply-To: <34cfb2e90805300203t1f904938q60405bbbe3e035a2@mail.gmail.com>
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
prev parent reply other threads:[~2008-05-31 8:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48410933.4020101@hanzlici.cz \
--to=franta@hanzlici.cz \
--cc=eddymilis@teguhabadi.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox