Skip to contentSkip to conversation

Clipper use 100% off CPU

DISCUSSION jeff dyn 3 participants 6 messages Nov 16, 2004 – Jan 12, 2005 1 message not in the archive

lore
Share & tools
lore

jeff dyn

author
#0 lore raw

Hi
Some one know if the problem of 99% CPU use with clipper be resolve ??? Best regards

#1 lore raw
Quoted 1 line · jeff dyn

Some one know if the problem of 99% CPU use with clipper be resolve ???

Afaik, the best solution so far is to patch the clipper program with:
http://www.gnuservers.com.ar/~maxy/clipper/clip2f.exe

Someone in this list recommended this a while ago and I haven't thank him enough.

There is a few other solutions that load a tsr program that catch some "known to be broken" idle calls, that didn't turn out very well for me.

#2 lore raw

Re: Clipper use 100% off CPU => me too

(Sorri Maximiliano, this message was for the list)

The same thing happens to my application, only that I get around 50% cpu usage. Here I have access to the wait loop: I check Keyboard (bios call), mouse, timers, event-queue and start again. What should I do to stop using so much cpu?

I have noticed that, just as it happens with Clipper, this usage is only idle time and that it falls as soon as someone start using cpu...

I have $_hogthreshold = (1), Mandrake linux 10.0, Dosemu 1.2.1.0 and FreeDOS 2035 (tom).

Alain

Maximiliano Curia escreveu:

Quoted 18 lines
Quoted 1 line · jeff dyn

Some one know if the problem of 99% CPU use with clipper be resolve ???

Afaik, the best solution so far is to patch the clipper program with:
http://www.gnuservers.com.ar/~maxy/clipper/clip2f.exe

Someone in this list recommended this a while ago and I haven't thank him enough.

There is a few other solutions that load a tsr program that catch some "known to be broken" idle calls, that didn't turn out very well for me.

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

Re: Clipper use 100% off CPU => me too

Sorry again I have Dosemu 1.2.2.0 (I misstyped)

Alain escreveu:

Quoted 37 lines

(Sorri Maximiliano, this message was for the list)

The same thing happens to my application, only that I get around 50% cpu usage. Here I have access to the wait loop: I check Keyboard (bios call), mouse, timers, event-queue and start again. What should I do to stop using so much cpu?

I have noticed that, just as it happens with Clipper, this usage is only idle time and that it falls as soon as someone start using cpu...

I have $_hogthreshold = (1), Mandrake linux 10.0, Dosemu 1.2.1.0 and FreeDOS 2035 (tom).

Alain

Maximiliano Curia escreveu:

Quoted 9 lines
Quoted 1 line · jeff dyn

Some one know if the problem of 99% CPU use with clipper be resolve ???

Afaik, the best solution so far is to patch the clipper program with:
http://www.gnuservers.com.ar/~maxy/clipper/clip2f.exe

Quoted 10 lines

Someone in this list recommended this a while ago and I haven't thank him enough.

There is a few other solutions that load a tsr program that catch some "known to be broken" idle calls, that didn't turn out very well for me.

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw

50 linhas

In reply to Maximiliano Curia

When I issue:

mode co80,50

I do get 50 lines bit it says "Using VGA 400 lines resolution.". I would like to use 480 lines to get a more readable font. Where should I configure that?

Thanks,
Alain

A message that is not in the archive (sent off-list or not yet received): [email protected]

#6 lore raw

Re: Clipper use 100% off CPU => me too!

Quoted 1 line · Alain

The same thing happens to my application, only that I get around 50% cpu usage. Here I have access to the wait loop: I check Keyboard (bios call), mouse, timers, event-queue and start again. What should I do to stop using so much cpu?

I'm sending a copy to the dosemu list, so we can have more eyeballs on the issue.

Quoted 1 line

I have noticed that, just as it happens with Clipper, this usage is only idle time and that it falls as soon as someone start using cpu...

Yes, I've seen that behavior in my machine. As I told you, it was fixed with the patch I posted. (jeff you can find it in http://gnuservers.com.ar/~maxy/clipper/)

I don't if this would help you, but in one of the programs I've another patch, which is a source level patch. This was supposed to recover the idle calls for the system, but it didn't do any difference.

So if you want to give it a try, I've just uploaded them in:
http://gnuservers.com.ar/~maxy/clipper/nflib.zip
http://gnuservers.com.ar/~maxy/clipper/nfpatch.zip

I hope you remember how to put the files in the correct place, because I don't. :)

You also have to add a line in the beginning of you program, something like:
FT_OnIdle({||FT_IAmIdle(30,.T.)})

Quoted 1 line

I have $_hogthreshold = (1),

Same here.

Quoted 1 line

Mandrake linux 10.0, Dosemu 1.2.1.0 and FreeDOS 2035 (tom).

Debian sarge, dosemu 1.2.1 and freedos b8p.

Signature · 3 lines
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 10/01/05