TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Kathleen Weber
from: Mike Bilow
date: 1996-06-04 01:51:00
subject: OS/2 Dos Backgrnd.

Kathleen Weber wrote in a message to Mike Bilow:

-> KW>                   PRIORITY_DISK_IO=NO

-> Just so you know, this has been broken in all releases of Warp.  The
-> foreground process will get priority in the HPFS driver at a low leve

 KW> I haven't found any problem when using this in my
 KW> CONFIG.SYS.

It doesn't cause any problems, but it is ignored.

 KW> Packing my BBS message base takes 2 hours when it is the only 
 KW> program running and that is when it is the 'active' screen up.

I can't imagine what you are running there.  On a 486DX-33, I run Squish
SQPACKP daily at idle priority, and it takes less than a half hour.  I
carry a good chunk of the backbone and keep as many as 2000 messages in
some areas.

 KW> In the last few weeks I found I have had to do quite a bit
 KW> of work while the BBS message base is packing since I have a
 KW> backlog at work. So while it is running the pack routine, I
 KW> am open and closing all kinds of applications (OS/2, Win and
 KW> DOS based). Most of the time I have two or more programs
 KW> running (I am active in using the other open programs) while
 KW> the pack routine goes.  It still takes 2 hours flat.

Keep in mind that message base repacking is disk-bound, not CPU-bound. 
OS/2 takes most disk access requests as implicit yields anyway, so the
priority manager rarely has the chance to kick in.

 KW> With a program that would be so sensitive to any sort of
 KW> change in the CPU processor allocation it is very easy to
 KW> see if something else is taking away from it.

You can prove this with a simple loop that never yields the processor. 
Time its completion in the foreground and the background, and you will see
that being in the foreground gives it a substantial advantage regardless of
the setting in CONFIG.SYS.

 KW> I believe this does work and it really causes no harm to try it 
 KW> anyway. If it doesn't work then it can always be changed back.

True.  I use it myself -- it did work under OS/2 2.1 -- but it is easy to
demonstrate that it does not work under OS/2 Warp.
 
-- Mike


--- 
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
SEEN-BY: 50/99 270/101 620/243 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 517 628 713/888 800/1
@PATH: 323/107 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.