From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frantisek Hanzlik Subject: Re: Dosemu Slower than CMD Date: Sat, 31 May 2008 10:15:47 +0200 Message-ID: <48410933.4020101@hanzlici.cz> References: <34cfb2e90803150947l4bf52c93g73289365331ebec1@mail.gmail.com> <47DCF93F.10404@hanzlici.cz> <34cfb2e90805291019r1f2db5dew81fac5e6f6184f76@mail.gmail.com> <483FBA89.5070207@hanzlici.cz> <34cfb2e90805300140w5951e192k4880d0ea06e06acf@mail.gmail.com> <483FC13C.3060809@hanzlici.cz> <34cfb2e90805300203t1f904938q60405bbbe3e035a2@mail.gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <34cfb2e90805300203t1f904938q60405bbbe3e035a2@mail.gmail.com> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Eddy Setyawan Cc: linux-msdos@vger.kernel.org I just haven't no win machine, then I can't compare program response un= der 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 differ= ences 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 environmen= t. =46ranta Hanzlik Eddy Setyawan wrote: > Times for load this section is more faster when i run it on windows u= sing CMD > any idea to tweak dosemu to make this section faster like CMD does >=20 > quote "Note I must set DOS date to March 2008." > i think so because this app have closing month mechanism >=20 > On Fri, May 30, 2008 at 3:56 PM, Frantisek Hanzlik 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 >> =A8UA CV. MITRA BANGUNAN >> 20/03/2008=A8U >> =A9=B0=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=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=A9= =A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A6 >> =A9=A6Kode Barang =A9=A6 Nama Barang =A9= =A6 H. Sales =A9=A6 H. >> Toko =A9=A6 >> =A9=A61000001 =A9=A6KIMEX CAT TEMBOK 5KG BS9102SS WHITE =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000002 =A9=A6KIMEX CAT TEMBOK 5KG 680 COTTON WHITE =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000003 =A9=A6KIMEX CAT TEMBOK 5KG BS9102 WHITE =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000004 =A9=A6KIMEX CAT TEMBOK 5KG 900 EXTRA WHITE =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000005 =A9=A6KIMEX CAT TEMBOK 5KG 660SB BRILLIANT WHI=A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000006 =A9=A6KIMEX CAT TEMBOK 5KG 600 DIVINITY =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000007 =A9=A6KIMEX CAT TEMBOK 5KG 604 SPANISH WHITE =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000008 =A9=A6KIMEX CAT TEMBOK 5KG 603 SUSU =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000009 =A9=A6KIMEX CAT TEMBOK 5KG 607 BROKEN WHITE =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=A61000010 =A9=A6KIMEX CAT TEMBOK 5KG 616 CREAM =A9= =A6 0=A9=A6 >> 0=A9=A6 >> =A9=B8=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9= =A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9= =A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9= =A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9= =A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9= =A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9= =A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=A4=A9=BC >> Esc=A8BQuit =A1=FB=A1=FA,Enter=A8BMenu Home=A8BFirst PgUp=A8BPr= ev PgDn=A8BNext End=A8BLast >> >> 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 -> Persedia= an -> >>> 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 >>> 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=3D100 (ticks/sec), thus JIFFIE_TIME=3D10000 a= nd >>>> INT2F_IDLE_USECS=3D80000 (=3D> 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