linux-scalability
[Top] [All Lists]

how to accurately and easily show kernel scheduler scalability?

To: linux-scalability@xxxxxxxxxxx
Subject: how to accurately and easily show kernel scheduler scalability?
From: Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx>
Date: Tue, 10 May 2005 12:19:28 +0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:reply-to:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=QxnBtExi+Vsd38tw9PJxnDnuC6gsRYgrQXZ8CIRmqXiaQJjCVddp8GZfyLQ3DSHlN3OXBudjrm1nB+gnHBfgJTqXGHYim1t0grQsNabCzUYrsME0fJosOeF8jAdTuDaZbBHchSnVo+UNaEG/g6sAiDLRzFndFq0qRqRSeVv/r4M=
Reply-to: mulyadi.santosa@xxxxxxxxx
Sender: linux-scalability-bounce@xxxxxxxxxxx
User-agent: KMail/1.5
Hello everyone

I am a newcomer on "scalability world", so I encourage myself to start 
learning about it. I am in the middle of writing an article talking 
about comparisons of several Linux scheduler (2.6.x), primarily between 
O(1) scheduler and Staircase scheduler.

I am now facing huge problem, that is how to measure scalability of a 
scheduler? Lets assume I got this result

Thread                    :      2       4          8           16
Runtime (second) :    0.1     0.3    0.7         1.1

How to express "scalability" in this case? From what I learn so far, I 
can use two approach:
1. Pick data from two points, e.g 2 threads and 16 threads. We know that 
the ratio is 1:8.  Looking at related runtime, the ratio is 1:11. So we 
can calculate that the scale is 11/8 = 137.5%

2. Use exponential equation ( y = b * m ^ x). I got this idea by looking 
at the available array functions on Open Office calc and from there I 
found LOGEST() which takes our data series as X and Y values (Y values 
are results of func(X)) and calculate the regression coeffecient. They 
are scale factor (m) and b (the point where x=0 ). From here, I pick 
the scale factor and use it scalability indicator

any feedback or suggestions are welcome

regards

Mulyadi

<Prev in Thread] Current Thread [Next in Thread>
  • how to accurately and easily show kernel scheduler scalability?, Mulyadi Santosa <=