Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 8
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1092 times and has 7 replies Next Thread
jasm580
Senior Cruncher
USA
Joined: Dec 20, 2007
Post Count: 157
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
2 Clients on a Linux machine and "in use" detection

Can 2 clients run on a multi core Linux maching?
What I am trying to do is have some cores idle when it is in use and other run all the time
-Jasm
----------------------------------------
-Jasm
----------------------------------------
[Edit 2 times, last edit by jasm580 at Sep 1, 2009 6:46:39 PM]
[Sep 1, 2009 3:41:16 PM]   Link   Report threatening or abusive post: please login first  Go to top 
uplinger
Former World Community Grid Tech
Joined: May 23, 2005
Post Count: 3952
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: 2 Clients on a Linux machine

Umm...So, if i'm understanding you right....you want it to run 100% when the computer is idle but only at 50% when the computer is in use by a user?

If so, the only supported option available is to set all processes to idle when the computer is in use. but then fire back up to 100% after 3 minutes or whatever you change the settings to.

Now, I have not tested running two agents on the same machine, but since they use the same port for the manager to talk with i would have to recommend against it. This would mean you're now going to be changing the ports used for the rpc commands. also monitoring multiple folders...possible issues with host ids...basically you're going into uncharted waters.

-Uplinger
[Sep 1, 2009 3:53:11 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: 2 Clients on a Linux machine

jasm580, from a BOINC performance viewpoint, memory is more important than CPU. So, instead of trying to change the core usage, why not try adjusting BOINC's memory preferences?
[Sep 1, 2009 3:57:25 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jasm580
Senior Cruncher
USA
Joined: Dec 20, 2007
Post Count: 157
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: 2 Clients on a Linux machine

why not try adjusting BOINC's memory preferences?


What did you have in mind?
....
Ok I see, If you set the memory allowed very low when in use it will idle some of the processors. That is great, thanks -Jasm
----------------------------------------
-Jasm
----------------------------------------
[Edit 1 times, last edit by jasm580 at Sep 1, 2009 4:19:57 PM]
[Sep 1, 2009 4:08:26 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: 2 Clients on a Linux machine

Reduce the "Use at most X% of memory" settings such that there is ample space in physical memory for the normal processes you (or your users) have running.

You mentioned the idle/in use thing. If you don't mind potentially major paging (and a big performance hit) when a user returns, then set the memory when idle to 100%. Otherwise, keep both settings the same.

Different projects have different memory footprints. If performance is a real concern for you, pick the low memory projects.
[Sep 1, 2009 4:19:45 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jasm580
Senior Cruncher
USA
Joined: Dec 20, 2007
Post Count: 157
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: 2 Clients on a Linux machine

How does the client know when the system is "in use" on a Linux box? It seems to see some logins but not others.
----------------------------------------
-Jasm
[Sep 1, 2009 4:42:05 PM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: 2 Clients on a Linux machine

A good question. I think it will only see local activity.
[Sep 1, 2009 4:45:14 PM]   Link   Report threatening or abusive post: please login first  Go to top 
jasm580
Senior Cruncher
USA
Joined: Dec 20, 2007
Post Count: 157
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Linux only sees one remote user at a time

Ok that is intresting. It only sees the first user that is logged in. After that user is logged out it only sees the next user that is logged in. These are remote users. No one logs in at the console so I don't know if how that fits into this picture.
----------------------------------------
-Jasm
----------------------------------------
[Edit 1 times, last edit by jasm580 at Sep 1, 2009 6:47:22 PM]
[Sep 1, 2009 6:45:22 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread