linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* To control the use of max. processor capacity (system call ?)
@ 2005-05-21  0:40 Luciano Moreira - glnx
  2005-05-21  8:30 ` Håkon Hallingstad
  0 siblings, 1 reply; 2+ messages in thread
From: Luciano Moreira - glnx @ 2005-05-21  0:40 UTC (permalink / raw)
  To: linux-c-programming

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: To control the use of max. processor capacity (system call ?)
  2005-05-21  0:40 To control the use of max. processor capacity (system call ?) Luciano Moreira - glnx
@ 2005-05-21  8:30 ` Håkon Hallingstad
  0 siblings, 0 replies; 2+ messages in thread
From: Håkon Hallingstad @ 2005-05-21  8:30 UTC (permalink / raw)
  To: linux C programming

> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-21  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-21  0:40 To control the use of max. processor capacity (system call ?) Luciano Moreira - glnx
2005-05-21  8:30 ` Håkon Hallingstad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).