* Dosemu takes 99% of cpu
@ 2005-08-25 22:21 Fajar Priyanto
0 siblings, 0 replies; 3+ messages in thread
From: Fajar Priyanto @ 2005-08-25 22:21 UTC (permalink / raw)
To: linux-msdos
Hi all,
Another problem that I encounter is that dosemu takes 99% of cpu for each of
it's instances. This becomes a performance problem in my LTSP configuration,
where as all the work is on the server. The dos program becomes very slow.
Is it normal that dosemu takes 99% of cpu?
Thanks
Fajar.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dosemu takes 99% of cpu
@ 2005-08-26 8:47 Stas Sergeev
2005-08-27 1:01 ` SOLVED: " Fajar Priyanto
0 siblings, 1 reply; 3+ messages in thread
From: Stas Sergeev @ 2005-08-26 8:47 UTC (permalink / raw)
To: linux-msdos
Hello.
Fajar Priyanto wrote:
> Is it normal that dosemu takes 99% of cpu?
That depends on the program that it runs,
and on dosemu version, which you, AFAICS,
haven't specified. 1.3.2 is known to be not
very good on that - try the CVS code.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SOLVED: Dosemu takes 99% of cpu
2005-08-26 8:47 Dosemu takes 99% of cpu Stas Sergeev
@ 2005-08-27 1:01 ` Fajar Priyanto
0 siblings, 0 replies; 3+ messages in thread
From: Fajar Priyanto @ 2005-08-27 1:01 UTC (permalink / raw)
To: linux-msdos
On Friday 26 August 2005 15:47, Stas Sergeev wrote:
> Hello.
>
> Fajar Priyanto wrote:
> > Is it normal that dosemu takes 99% of cpu?
>
> That depends on the program that it runs,
> and on dosemu version, which you, AFAICS,
> haven't specified. 1.3.2 is known to be not
> very good on that - try the CVS code.
I use dosemu 1.2.2.0.
Btw, it turns out that the performance problem is because of duplicated files
of the program.
You see, at first I have all the filenames in capital letters, because it
comes from DOS environment.
Then a guy from accounting department supplied me some current dbf files. And
what I don't realize is that all the files name are in small letter (not
capital letter). So, in the program folder there are some identical files,
one in capital letter, and the other in small letter. Looks like he copied
the files from WinXP environment using explorer.
Then when dosemu runs, somehow it manage to "merge" those files to show only
in capital letter (of course it is what DOS does). Apparently this confuse
the program itself on which files to read when generating some on screen
report.
When I got it fix by eliminating the duplicated files, the program can display
the report quickly again, although dosemu still takes 99% of cpu. But, it is
only when it is calculating. When the report is done, the cpu comes normal
again.
I guess this is the culprit.
Another lesson I got :)
Thanks for all the help.
Fajar
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-27 1:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-26 8:47 Dosemu takes 99% of cpu Stas Sergeev
2005-08-27 1:01 ` SOLVED: " Fajar Priyanto
-- strict thread matches above, loose matches on Subject: below --
2005-08-25 22:21 Fajar Priyanto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox