OS2 World Community Forum
OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Martin Iturbide on November 14, 2018, 05:16:37 pm
-
Hi
I have some questions about XWorkplace that I want to resolve.
1) On the full version of XWorkplace 1.0.12 it gives you the "OS/2 Kernel" icon on the System Setup. The "Scheduler", if I click on "Optimize" will put this on my config.sys "PROCESSES=34", which give an error on boot.
- More Info about PROCESSES (http://www.edm2.com/index.php/CONFIG.SYS_-_Commands#PROCESSES)
Does anybody remembers if "PROCESSES=" was depreciated on some kernel version? or it is just me having problems on my VM?
2) Do you consider that on the "OS/2 Kernel" properties, is the "Optimize" button still working fine (being useful) for the Scheduler, Memory and FAT tabs ?
Thanks in advance.
-
Hi Martin
Your "Processes=34" may be a little low; a value of 156 works on my ArcaOS system.
Regards
Pete
-
Read the help. Says the process statement was introduced with fixpak #13. Also says to start up all the programs you usually use and then add 50% and use that value. Yours looks really low.
-
I agree. Way too low. It seems that ArcaOS sets Processes at 414, and Threads at 1024. Both are probably not optimal for a normal, modern, system, but should be okay for a VM.
-
Thanks.
If I change the value from 36 to 414 it will not annoy the boot process anymore. (check picture). So the problem is the low value. But I still wonder why the "Optimize" button of the "Scheduler" on "OS/2 Kernel" gave me that value. What parameters is XWorkplace taking for giving me that suggestion.
Regards
-
As I said, it takes the number of currently running processes and adds 50%. You need to start all your usual programs first, then optimize.
-
There is probably a lower limit, which I don't see documented anywhere (I would hope it is more than 64). In your picture, it indicates that you had 24 running processes, when you clicked optimize. That blindly calculates 36, as being 50% more. If the system needs 37 (or more) processes, to get itself booted (which you can't see), you are dead in the water.
The OS2KRNL thing is old, and probably not very smart about what it suggests for optimization. Even starting all of the programs that you plan to run, and adding 50%, is likely to be insufficient, at some point. I suspect that the OS2KRNL thing is one of the (many) reasons why ArcaOS doesn't include the full XWorkplace package. It needs major updates, or it needs to be replaced. Meanwhile, if you use it you need to understand what you change, and why, or you may have problems (as you have seen).
-
Thanks for the help.
I still find "OS/2 Kernel" useful because of the "duplicated path / libpath" lists that it shows, there may be some other tools for that, but I like how OS/2 Kernel works in that way.
Just in case I will open a ticket on the XWorkplace trac.
Regards
-
Hi.
I tested on the VM and it looks like anything lower than 64 on PROCESSES= will give you an ignore message on the boot process. I'm not sure if that number is hardcoded or differs on different machines. Anyways I'm just leaving it as 414.
Regards
-
I have been running with:
PROCESSES=128
THREADS=512
...for quite some time now. As best as I can tell this has not caused any problems.
My "fully loaded" system is 22 processes with 215 threads (Theseus 4.001).