![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Threads and Threads Count ? | varungupta | UNIX for Advanced & Expert Users | 2 | 03-21-2008 09:23 PM |
| threads | vijlak | SUN Solaris | 3 | 01-29-2007 07:55 PM |
| threads | Gerry405 | UNIX for Dummies Questions & Answers | 2 | 06-29-2005 04:30 AM |
| old threads | norsk hedensk | Post Here to Contact Site Administrators and Moderators | 2 | 06-03-2003 06:16 PM |
| nfs threads | i2admin | UNIX for Advanced & Expert Users | 1 | 03-06-2003 11:28 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
How many threads do I use ?
Hi,
I have a program that has two types of threads: 1) Reader threads 2) Worker Threads Readers: Their only job is to read files. They just read data from the files and put them into a buffer. They are obviously I/O intensive. Workers: These are CPU intensive. They do some computation on the data which has been put into these buffers. How many threads: 1) Worker: I think this answer is obvious. The number of worker threads should be equal to the number of CPUs in the sytem. 2) Reader: What about these? How can I determine the capability of I/O system ? Specifically, I want the user to be able to specify the number of Reader and Worker threads the would like the program to use. QUESTION: What guidelines should the user follow or use to determing this number ? How can they determine the capabilities of the I/O subsystem? (The program uses 1 reader and 4 worker threads by default) |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|