Re: Cobol app takes 100% CPU

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

 



On 27/03/2008, Rodrigo Real <rreal@xxxxxxxxxxxxx> wrote:
>  And in src/base/bios/int16.c I added a usleep before
>  check_key_available call:
>
>    case 0x11:
>  +    usleep(INT2F_IDLE_USECS/100000);
>      check_key_available(EXTENDED);
>      break;

Good that that works for you, but I'd like to ask:
1. You said that the problem occurs with 1.2.2-8. Does it also occur
with DOSEMU 1.4.0?
The jiffies adjustment does not affect 1.4.0 anymore.
2. check_key_available has some code itself to make DOSEMU to become
idle. Did you play with the numbers in those? They are in the
idle(500, 20, 0, INT2F_IDLE_USECS, "int16");
call: lower numbers mean quicker sleeping.

Bart

>
>  Now the load of the server is less them one, even with 20 dosemu
>  processes running, before that changes the load would be in 12. And
>  the users are very happy with the performance.
>
>  Don't know if this is a good forum for that, but I guess that this
>  sort of thing should be a parameter, so users can calibrate their
>  speed. Maybe I am missing something, but I guess that many dosemu
>  users would be in a situation similar to mine.
>
>  Thanks for helping!
>
>  Cheers,
>
> Rodrigo
>
> --
>  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
>
--
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