Author Topic: PROCESSES config.sys statement - XWorkplace  (Read 6049 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
PROCESSES config.sys statement - XWorkplace
« 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

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.
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: PROCESSES config.sys statement - XWorkplace
« Reply #1 on: November 14, 2018, 05:49:00 pm »
Hi Martin

Your "Processes=34" may be a little low; a value of 156 works on my ArcaOS system.


Regards

Pete

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: PROCESSES config.sys statement - XWorkplace
« Reply #2 on: November 14, 2018, 06:32:25 pm »
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.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: PROCESSES config.sys statement - XWorkplace
« Reply #3 on: November 14, 2018, 06:37:32 pm »
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.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: PROCESSES config.sys statement - XWorkplace
« Reply #4 on: November 14, 2018, 07:05:31 pm »
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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: PROCESSES config.sys statement - XWorkplace
« Reply #5 on: November 14, 2018, 07:17:36 pm »
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.

Doug Bissett

  • Hero Member
  • *****
  • Posts: 1593
  • Karma: +4/-2
    • View Profile
Re: PROCESSES config.sys statement - XWorkplace
« Reply #6 on: November 14, 2018, 09:19:32 pm »
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).

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: PROCESSES config.sys statement - XWorkplace
« Reply #7 on: November 15, 2018, 12:39:00 pm »
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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: PROCESSES config.sys statement - XWorkplace
« Reply #8 on: November 15, 2018, 11:02:14 pm »
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
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Dariusz Piatkowski

  • Hero Member
  • *****
  • Posts: 1317
  • Karma: +26/-0
    • View Profile
Re: PROCESSES config.sys statement - XWorkplace
« Reply #9 on: November 17, 2018, 07:04:59 pm »
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).