Re: Dosemu Slower than CMD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxx>  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
>> ?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@xxxxxxxxxxx>
>>>   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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux