Multi-processors and CPU usage

Questions and Answers : Unix/Linux : Multi-processors and CPU usage
Message board moderation

To post messages, you must log in.

AuthorMessage
Conrad Hunziker

Send message
Joined: 11 Sep 99
Posts: 2
Credit: 7,063,934
RAC: 0
United States
Message 141625 - Posted: 23 Jul 2005, 21:38:08 UTC

Hello-

Id like to run seti instances as a percentage of the total amount of processors available. For example, I have a 4 processor machine that Id like to only run seti on 2 processors. With the classic version, you'd just start up 2 instances of seti@home.

I know its not possible to bind a seti instance to a processor, but what Im trying to do is to only use 50% of the available resources, leaving the rest for other tasks.

How can I accomplish this? In my testing so far on freebsd5.4, I see it automaticially uses 100% of the resources available.

Thanks.
ID: 141625 · Report as offensive
Profile Leander

Send message
Joined: 16 Oct 03
Posts: 2
Credit: 2,927,184
RAC: 0
United States
Message 142584 - Posted: 25 Jul 2005, 16:17:22 UTC

I got the same sort of problem except the inverse ...

I have a dual P3 system and the BOINC software only sees on processor. I'm running FreeBSD 5.4 and I do have an SMP kernel compiled ...


ID: 142584 · Report as offensive
Profile SunMicrosystemsLLG

Send message
Joined: 4 Jul 05
Posts: 102
Credit: 1,360,617
RAC: 0
United Kingdom
Message 142803 - Posted: 25 Jul 2005, 23:31:32 UTC

I have SETI/BOINC running on a box with 4 dual core CPUs (8 way), in my user preferences on the website I set the maximum number of CPUs that can be used by BOINC to 7 and I always have a core free on the machine.

I'm not sure if you can limit the number of CPUs used on every machine individually, but that global preference seems to do the job.
ID: 142803 · Report as offensive
Conrad Hunziker

Send message
Joined: 11 Sep 99
Posts: 2
Credit: 7,063,934
RAC: 0
United States
Message 142953 - Posted: 26 Jul 2005, 6:32:04 UTC - in response to Message 142803.  

I have SETI/BOINC running on a box with 4 dual core CPUs (8 way), in my user preferences on the website I set the maximum number of CPUs that can be used by BOINC to 7 and I always have a core free on the machine.

I'm not sure if you can limit the number of CPUs used on every machine individually, but that global preference seems to do the job.


Well - the issue really becomes strange when you have multiple systems with multiple preferences.

For example, I have a couple of 4 way boxes, a couple of 2 way boxes and a couple of single processor cpus. Sure, I could use the pre-defined "home" "school" and "work" preferences and set one for 1 processor, one for 2 and one for 3. But what if I want to further relegate machines based on hours or other preferences. I have to define them into their 3 preset catagories, with no ability to add new sets of preferences.

Really now, If they are going to keep stats and preferences for each computer, they should be able to keep this very basic resource usage information. Developers???
ID: 142953 · Report as offensive

Questions and Answers : Unix/Linux : Multi-processors and CPU usage


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.