Re: low-latency scheduling patch for 2.4.0

Andrew Morton
2001-01-15T10:54:14Z

Gregory Maxwell wrote:
>
> On Sun, Jan 14, 2001 at 10:35:51PM +1100, Andrew Morton wrote:
> [snip]
> > - The patch now works properly on SMP.
> [snip]
>
> Any benchmark results on SMP yet?

SMP and UP are much the same.

Workload is `make -j3 bzImage', the measured time
is from entry to an ISR to execution of the userspace
process. The histogram has 10 microsecond resolution.

SMP
===
0:165601 10:17192 20:12769 30:33220 40:59318
50:60814 60:42915 70:20949 80:8124 90:2590
100:944 110:397 120:211 130:96 140:51
150:41 160:36 170:24 180:21 190:15
200:14 210:12 220:13 230:7 240:11
250:6 260:3 270:4 280:10 290:6
300:5 310:3 320:3 330:6 340:1
350:1 370:1 400:1 620:1

Total samples: 425436

So on SMP, latency is < 10 microseconds 165601/425436 = 39% of
the time.

UP
==

0:52735 10:33480 20:101199 30:200301 40:135470
50:9199 60:4356 70:1531 80:770 90:396
100:288 110:178 120:102 130:100 140:63
150:45 160:61 170:40 180:30 190:23
200:29 210:12 220:26 230:10 240:8
250:6 260:2 300:1

Total samples: 540461

In other words:

SMP
===

usecs

0 -100: 99.54%
100-200: 0.43%
200-300: 0.02%
300-400: 0.0049%
620: 0.00023%

UP
==

0 -100: 99.81%
100-200: 0.17%
200-300: 0.017%