|
Re: Multiple spread daemons on the same machine &real-time scheduling?: msg#00002network.spread.user
Several weeks ago, I prompted a small thread about running spread with real-time priority. http://commedia.cnds.jhu.edu/pipermail/spread-users/2006-October/003077.html I just had a thought: has anyone ever considered using the POSIX real-time scheduling API to achieve this result? E.g., functions like sched_getscheduler() sched_get_priority_max() sched_setscheduler() sched_getparam() At least on Linux, you have to run as root to get real-time priority. But in the sample programs I've written using the above (and related) functions, it's pretty easy to make a whole process real-time. In other words, I was thinking you could probably just insert a few of the right POSIX real-time priority functions into spread's main() function, and recompile. Thoughts? Thanks, Matt |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: cannot re-connect: 00002, Jonathan Stanton |
|---|---|
| Next by Date: | Re: Multiple spread daemons on the same machine &real-time scheduling?: 00002, Matthew Gillen |
| Previous by Thread: | cannot re-connecti: 00002, Torsten Curdt |
| Next by Thread: | Re: Multiple spread daemons on the same machine &real-time scheduling?: 00002, Matthew Gillen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |