Re: taskset in Linux and mpsched in HP-UX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks very much John and Yong Huang.

Think mpsched is simpler than prset for me while mpctl is
more for programmer/developer.

 Link below is a good discussion

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=991526

<http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=991526>
&
found more discussions when searching for keywords
 mpsched, prset from
 http://forums11.itrc.hp.com/service/james/home.do?from=forums



Thx and regds
U


On Thu, Apr 8, 2010 at 6:57 AM, John Wong <j_w_usa@xxxxxxxxx> wrote:

> You can try mpsched and mpctl(2) in HP-UX.
>
> http://docs.hp.com/en/B2355-90689/mpsched.1.html
>
> [snipped]
>
>
> Anyone know what's the equivalent for taskset in HP-UX?  Sorry that this
> is a Redhat & not a HP-UX list.
>
> [snipped]
>
>
>
>
>
>  ------------------------------
>
> Message: 14
> Date: Wed, 7 Apr 2010 14:47:01 +0800
> From: sunhux G <sunhux@xxxxxxxxx>
> To: redhat-list@xxxxxxxxxx
> Subject: Re: On-the-fly throttle of CPU consumption of a process
> Message-ID:
>     <h2n60f08e701004062347g522e8092pe2a5c99742239301@xxxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks Yong Huang.
>
> 'taskset' will fulfill my needs well too.
>
> Cameron was trying to fulfill what I wanted :
>
> a)stopping those annoying alerts
>
> b)if there's constantly other processes that takes up CPU, then renice will
>    probably deprive this 'reniced' processes a lot of the CPU resource.  I
>    want to be able to control it manually using his script (or for Linux,
>    someone else in the Net has cpulimit.c codes that also fulfill what I
> need)
>
> c)there's concern that if a novice were to do 'renice' of a "shared" server
>    process, such as a Webserver or Oracle server and the server process
>    turn out to get very little CPU allocation due to other processes need
>    the CPU often, then I would rather to be able to control it manually
>    (ie using stutter or cpulimit) than let the system decides it for me (ie
>     using renice)
>
> just get to know taskset which will meet my needs for a, b & to an extent
> c as well.
>
> However, I'm also looking for similar solution for HP-UX and Cameron's
> method could port easily to HP-UX.
>
> Anyone know what's the equivalent for taskset in HP-UX?  Sorry that this
> is a Redhat & not a HP-UX list.
>
>
> To mitigate the situation where a process needs to talk to another
> periodically, I thought of using Cameron's solution with very short
> intervals (0.1 to 0.2 secs) on HP-UX.  For Linux, taskset is good
>
>
>
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux