From: Shaw Tong Tan <shawtan@yahoo.com>
To: dosEmu-list <linux-msdos@vger.kernel.org>
Subject: Re: Status Update : Deployment of DOSEMU Application Server
Date: Thu, 30 Oct 2008 19:59:54 -0700 (PDT) [thread overview]
Message-ID: <467339.94722.qm@web52510.mail.re2.yahoo.com> (raw)
In-Reply-To: <23fd749a0810301710g4527b48bn81b943c25b3777f8@mail.gmail.com>
Continuation of previous post.
A. 100% CPU remedy.
Original background
1. test environment Pentium E2180/CentOS 5.2 (32-bit)/DOSEMU+FreeDOS 1.4.0 from website.
2. I found maximum 4 instances on single host, after that random delay and hangs
3. Std OS environment without any modification.
To arrive at a solution
1. tried several DOS utilities, example dosidles, even citrix utility
2. I spent weeks trying many combination. Finally I adopted a combined recommendations from list member Joe to run BX200FIX and setting nice value. I added a CPU control as well. Example below
EXAMPLE: taskset -c 1 nice -n 19 dosemu
run DOSEMU with nice value of 19 on CPU Core number 1. Dualcore CPU core is 0,1 Quad Core is 0,1,2,3
After implementation, I tested up to 6 clipper-based app instances on 1 cpu core and found response reasonable and stable, no random hangs. Based on my assessment of the overall situation, I feel 6 session/cpu-core is the maximum I am willing to commit. Since I have quad-core host now, I am willing to spread the load across to gain a bit of buffer zone. Note that try not to use Core-0 for dosemu because that's the default for OS and system services. The high cache size on Quad Core also help I think in reducing the memory contention issue.
next prev parent reply other threads:[~2008-10-31 2:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-29 5:43 Status Update : Deployment of DOSEMU Application Server Shaw Tong Tan
2008-10-29 14:33 ` Alain M.
2008-10-29 18:36 ` Andrew Joakimsen
2008-10-29 21:15 ` Alain M.
2008-10-29 21:47 ` Andrew Joakimsen
2008-10-30 1:57 ` Shaw Tong Tan
2008-10-31 0:10 ` Andrew Joakimsen
2008-10-31 2:59 ` Shaw Tong Tan [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-10-30 9:02 Shaw Tong Tan
2008-10-30 13:42 ` Ivan Baldo
2008-10-30 13:43 ` Alain M.
2008-10-30 13:45 ` Alain M.
2008-10-30 17:14 Manfred Scherer
2008-11-02 22:40 ` Claudia Neumann
2008-11-08 16:49 Manfred Scherer
2008-11-09 8:24 ` Claudia Neumann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=467339.94722.qm@web52510.mail.re2.yahoo.com \
--to=shawtan@yahoo.com \
--cc=linux-msdos@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox