taskset in Linux and mpsched in HP-UX



You can try mpsched and mpctl(2) in HP-UX.
 
http://docs.hp.com/en/B2355-90689/mpsched.1.html
 
[snipped]
 
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.

[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



Relevant Pages

  • Re: taskset in Linux and mpsched in HP-UX
    ... Anyone know what's the equivalent for taskset in HP-UX? ... On-the-fly throttle of CPU consumption of a process ... b)if there's constantly other processes that takes up CPU, then renice will ...
    (RedHat)
  • Re: On-the-fly throttle of CPU consumption of a process
    ... 'taskset' will fulfill my needs well too. ... Cameron was trying to fulfill what I wanted: ... probably deprive this 'reniced' processes a lot of the CPU resource. ... I'm also looking for similar solution for HP-UX and Cameron's ...
    (RedHat)
  • Sharity Cifslogin Buffer Overflow (arguments)
    ... This command logs the calling user in to a server. ... If you don't specify a share name for a share-level security ... Memory fault ... Traces the system calls a process invokes in HP-UX 11. ...
    (Bugtraq)
  • Re: Any major differences between Solaris and HP-UX?
    ... > suffers from HPQ's lack of commitment to both the server market and ... high end server market... ... > switching all users from Windows to HP-UX is not an option. ... Thats nonsense. ...
    (comp.sys.hp.hpux)
  • Re: HP wasting millions of dollars on itanium!
    ... Porting OpenVMS to any other CPU would send out the message that HP no ... That in turn means that HP-UX has ... That reads as if you feel HP-UX is no less portable than VMS. ...
    (comp.os.vms)