Skip to contentSkip to conversation

To control the use of max. processor capacity (system call ?)

DISCUSSION Luciano Moreira - glnx 2 participants 2 messages May 21, 2005

lore
Share & tools
lore
#0 lore raw

Hi guys !

I never saw this problem, but recently one of our processing programs are using the maximum capacity of machine processor, leaving some others resources of the Linux Operation Systems to run slowly. We never used techniques to pause processing, like is usually need in Windows. Hence, we leave OS to control the processor's slices.

Instead of attacking OS kernel settings, does exist some recomended system call (API) on Linux to do some micro-pauses during processing, to leave others deamons to run with its normal performance ?

Maybe it's a priority approach, but I m looking for something different. Does it exist ?

Thanks.

Luciano

#1 lore raw
Quoted 2 lines

Maybe it's a priority approach, but I m looking for something different. Does it exist ?

It _is_ solved by adjusting scheduling priorities. Why are you looking for something different?

Håkon Hallingstad
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html