CPU Binding in HP UX (psrset)


 
Thread Tools Search this Thread
Operating Systems HP-UX CPU Binding in HP UX (psrset)
# 1  
Old 08-29-2005
Error CPU Binding in HP UX (psrset)

Hi All,

I would like to know the behaviour of psrset in the following model.

I have a 4 CPU machine on which i have a couple of databases running and a web application running.

supposing i have processers 0 1 2 and 3

I bind processor 0 and 1 to the web application.

This ensures that at any time the web application will not use anything other than the two processors 0 and 1.

I would like to know that at the same time can any of the other processes use these cpu's 0 and 1.

Bottom line :
- I want a process to run exclusively on 2 cpu's only

- I don't want these two cpu's to be exclusively available only for that process. ie if other processes require these cpu's they should be able to use them.

Is the above possible on HP UX 11.11 or 11i using psrset.

Thanks in advance.

Nilesh
# 2  
Old 08-29-2005
Quote:
Originally Posted by nileshkarania
Bottom line :
- I want a process to run exclusively on 2 cpu's only

- I don't want these two cpu's to be exclusively available only for that process. ie if other processes require these cpu's they should be able to use them.

Is the above possible on HP UX 11.11 or 11i using psrset.
I don't use psrset but the documentation says it won't work that way. I don't use mpctl(2) either but the documentation says that system call can do what you want.
# 3  
Old 08-29-2005
Sounds like to me you want PRM, Process resource management.


http://docs.hp.com/en/B8733-90013/ch05s02.html
# 4  
Old 08-30-2005
The problem is i cannot use PRM. This is not allowed by the web application.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

ftp binding error

Hi, I am rite now made my unix box machine as ftp server that is it acting both ways..Now I have sftp script but when I execute get the following error ftp: bind: Address already in use $ From Secure4Access server process at 31-Oct-11 04:52... Your session is inactive and will... (5 Replies)
Discussion started by: rahul125
5 Replies

2. UNIX for Dummies Questions & Answers

Binding command in wget.

I was recently reading a manual of wget and there was command as "binding-address" and I read about tcp/ip binding but i don't understand one thing is...what is the use of binding address in wget.. Can anyone help me with this. (6 Replies)
Discussion started by: jFreak619
6 Replies

3. Red Hat

Lazy binding related

Hi, I'm building an application that would connect to either one of the 2 databases in production. I want to keep the source code common for both environments. The problem lies in the fact that in the target servers there will be only one of the 2 databases installed, hence the application... (2 Replies)
Discussion started by: ishdeepanand
2 Replies

4. IP Networking

Binding the same port number on different interfaces

Hi, We can use the same port number for two applications based on protocols.(i.e one application is based on TCP and the other application based on UDP). But i don't know about interfaces, can anyone one help........ 1) Can we use same port number for different... (0 Replies)
Discussion started by: vijaypdp2006
0 Replies

5. IP Networking

Binding the port number.

Hi all, Application A is using an port number 100 and is binded to an interface 1. Application B is using an port number 100 and is binded to an interface 2. can we bind the two applications on same port number based on interfaces. what i want to know is two... (3 Replies)
Discussion started by: vijaypdp2006
3 Replies

6. IP Networking

Binding the IP address

hi all, i have an udp based application that doesn't bind to any particular address. -->while sneding the packets, i have some doubts.... 1) can the packet be transmitted with an source ip address as 0.0.0.0 2) if we select an interface based on destination ip address,... (0 Replies)
Discussion started by: vijaypdp2006
0 Replies

7. Programming

Binding file lifescope to a process

Hi, I need a way to bind the lifescope of a file to the lifescope of a process, but that file needs to remain visible in the filesystem for other processes. I've been able to do this on Widows based OSes, but the UNIX based OSes solution have eluded me so far. I am aware of the common solution... (3 Replies)
Discussion started by: Fronsac
3 Replies

8. IP Networking

binding problems

i had a problem when using the bind function.. that is when i create a socket and bind it with a address(usually some file name)... when i run it once it goes on fine but the second time it tells a error since there is already a socket file in that name created by my previous run... but when i... (2 Replies)
Discussion started by: damn_bkb
2 Replies

9. IP Networking

Binding Virtual IP address to NIC

Hi, I bound a virtual IP to a network card on my E450 server and I am getting this error when I reboot the server, saying, " retrying host, RPC time out. I had to break this sequence and allow other services to load. Of course they didn't load properly. Please how can I sort this out? I do need... (8 Replies)
Discussion started by: Ronny
8 Replies

10. Solaris

key binding in the terminal

Hello all I would like to make shift+insert a shortcut for "paste from clipboard". how do I do it? where can I find the format to set this key binding, or others? thanks Ori (4 Replies)
Discussion started by: orid
4 Replies
Login or Register to Ask a Question