TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: James Blackwell
from: Wim Veldhuis
date: 1995-09-02 13:28:56
subject: threads ? how many can I do?

James Blackwell wrote in a message to Matthew Smith:

-=> On Aug 28, 1995 at 17:09, Matthew Smith wrote this to All <=-

 JB>  Hi Matthew,

MS> How many threads can os/2 realistically handle before it
MS> slows down to much? I'm designing a game for os/2 in which I
MS> intend to anywhere between 100 to 200 threads...  is this
MS> even realistic?  Can os/2 deal out timeslices very fast to
MS> 200 individual threads?

 JB> Well Matt, this probably NOT help you, but here goes.

 JB> I started a CMD I wrote (code as follows)..... I was able to
 JB> start 62 os/2 shells before the thrashing on the hard drive
 JB> was so bad that I basicly hung the system. This was on a AMD
 JB> DX4-100 with 8 megs of ram.

Keep in mind that different processes all have different memory
environments, and that different threads share the memory with the process
they in which run. Therefore more threads within a process would not mean
that more memory is consumed (leaving out required stack space for each
thread) so swap file trashing is not likely to occur due to an excessive
number of threads.

mvg/wr
  
--- timEd/2 1.01.g3+
* Origin: LightHouse BBS ==> I am a H.U.G.O. Member ! (2:285/324.3)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 712/515 628 704 713/888 800/1 7877/2809
@PATH: 285/324 32 1 280/801 270/101 105/103 42 712/515 711/808 809 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™.