Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Feb 10, 2008 9:54 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
I'm having some difficulty testing different parallelization methods and parameters on my Xenode, in that test result variability is high.

Since the physical server is shared, any other CPU usage appears as a slower test in my results - sometimes taking 4 times as long as the minimum time. Re-running the same test repeatedly yields varying times, yet with a floor minimum time (presumably when the hardware CPUs are all available).


There seem to be two ways to reduce the testing uncertainty.

1) I repeat the tests many times, taking the minimum test time as the result. This slows down testing and takes away resources from other users, so I don't like this method at all. I can never be sure that I've hit a time when all CPUs were avaiable to me, and the only way to reduce this uncertainty is to repeat the tests more and more often for a greater statistical sampling.

2) Force my share of the Xenode CPU utilization to minimum. This reduces CPU availability uncertainty to zero (they will never run any slower than this), so I only run my tests once. This also has the absolute minimum possible impact on other users. So I like this method.

How can I force my Xenode to minimum CPU share? Is there a way?

James


Top
   
PostPosted: Sun Feb 10, 2008 10:31 pm 
Offline
Senior Member

Joined: Tue Jan 22, 2008 2:10 am
Posts: 103
zunzun wrote:
How can I force my Xenode to minimum CPU share? Is there a way?

I don't think it's possible; most OSes (including probably Xen) won't leave the CPU idle when there's a runnable domain.


Top
   
 Post subject:
PostPosted: Mon Feb 11, 2008 1:06 am 
Offline
Senior Member

Joined: Sat Jun 05, 2004 12:49 am
Posts: 333
Well your best solution is to use a good testing method, ala not run it on a shared machine.


Top
   
 Post subject:
PostPosted: Mon Feb 11, 2008 8:45 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
OverlordQ wrote:
Well your best solution is to use a good testing method, ala not run it on a shared machine.


Can I borrow one of your multi-core servers for testing?

James


Top
   
PostPosted: Mon Feb 11, 2008 2:10 pm 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
bdonlan wrote:
I don't think it's possible; most OSes (including probably Xen) won't leave the CPU idle when there's a runnable domain.


Allow me to rephrase the question: Could it be set it to use *no more than* my minimum share?

James


Top
   
 Post subject:
PostPosted: Tue Feb 19, 2008 2:32 pm 
Offline
Junior Member

Joined: Tue Feb 19, 2008 7:08 am
Posts: 23
Location: USA
I think amazon ec2 has hard limit on cpu resources. Their xlarge instance has 8 cores.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group