Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.os.linux.development.system > #401
| From | John S <john.s43851955@gmail.com> |
|---|---|
| Newsgroups | comp.os.linux.development.system |
| Subject | Howto - or - Feature Request - Process to Core locking |
| Date | 2012-03-07 14:00 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <25803231.739.1331157626474.JavaMail.geo-discussion-forums@vbbfv2> (permalink) |
My project is currently developing a DSP application that will run on a dual-cpu X5670 system - having a total of 12 cores/24 threads. We have an issue we have yet to find a solution for. Our Signal Processing engines are locked to specific hyperthreads (a total of 8 of the 24 hyperthreads) in an attempt to minimize conflict with other tasking. Each engine typically uses about 80% of that threads CPU time. The problem is, during the 20% time that engine is idle, the operating system schedule sometimes places other tasks on one of the 8 hyperthreads the engines are using - because the current cpu usage is approx 0%. This is a problem if the scheduler places another process on one of the engine's core/hyperthreads while that engine is idle because when the engine comes out of suspend, it will need the undivided attention of that core - least it not be able to keep up with the data stream. We have tried cpuset and taskset to control affinity, but these haven't fully resolved the issues. The CPU scheduler will still utilize an engine's core even though other cores are either unused or have low useage. Is there a way to have the CPU scheduler assign processes based on average CPU usage? If so, this would keep the scheduler from using an engine's core. Any suggestions or ideas would be greatly appreciated. Thanks, John
Back to comp.os.linux.development.system | Previous | Next — Next in thread | Find similar
Howto - or - Feature Request - Process to Core locking John S <john.s43851955@gmail.com> - 2012-03-07 14:00 -0800
Re: Howto - or - Feature Request - Process to Core locking "Ersek, Laszlo" <lacos@caesar.elte.hu> - 2012-03-08 01:17 +0100
Re: Howto - or - Feature Request - Process to Core locking John S <john.s43851955@gmail.com> - 2012-03-11 03:02 -0700
csiph-web