TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Matthew Smith
from: Patrick Haller
date: 1995-08-31 10:28:48
subject: threads ? how many can I do?

Hi Matthew!

[..]
 MS> How many threads can os/2 realistically handle before it slows down to
 MS> much? I'm designing a game for os/2 in which I intend to anywhere
 MS> between 100 to 200 threads...  is this even realistic?  Can os/2 deal
 MS> out timeslices very fast to 200 individual threads?
4096 are not a real problem - in sense of thread switching overhead. I
tracked down OS/2s thread switching time to below 60ęs on a 486/66.

If all those 4096 thread would use up their CPU time completely and all
reside in the same priority class, every 32ms will be scheduled another
thread. So you can imageine the "visual slowdown" yourself :)
     __
     |_)
cu/2 |atrick

---
* Origin: OS/2 Bodensee ! (2:246/2315.18)
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: 246/2315 2300 2340 24/901 240/5500 24/24 396/1 270/101 105/103 42
@PATH: 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™.