Re: PREEMPT_RT and I-PIPE: the numbers, part 4

From: Karim Yaghmour
Date: Fri Jul 08 2005 - 20:22:08 EST



Missing attachment herein included.

Karim
--
Author, Speaker, Developer, Consultant
Pushing Embedded and Real-Time Linux Systems Beyond the Limits
http://www.opersys.com || karim@xxxxxxxxxxx || 1-866-677-4546
L M B E N C H 2 . 0 S U M M A R Y
------------------------------------

Processor, Processes - times in microseconds - smaller is better
----------------------------------------------------------------
null null open signal signal fork execve /bin/sh
kernel call I/O stat fstat close install handle process process process
----------------------------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -------
HIGHMEM-RT-V0.7.50-35 0.18 0.2947 3.02 0.42 3.62 0.59 1.98 156 448 1481
NOHIGHMEM-RT-V0.7.50-35 0.18 0.28635 2.91 0.42 3.70 0.58 2.02 111 383 1372
HIGHMEM-RT-V0.7.51-02 0.18 0.27045 2.47 0.39 3.02 0.56 1.75 103 372 1352
NOHIGHMEM-RT-V0.7.51-02 0.18 0.2673 2.36 0.39 2.77 0.56 1.72 90 351 1328

File select - times in microseconds - smaller is better
-------------------------------------------------------
select select select select select select select select
kernel 10 fd 100 fd 250 fd 500 fd 10 tcp 100 tcp 250 tcp 500 tcp
----------------------------- ------- ------- ------- ------- ------- ------- ------- -------
HIGHMEM-RT-V0.7.50-35 1.29 5.70 13.21 25.76 1.49 7.8809 18.6905 na
NOHIGHMEM-RT-V0.7.50-35 1.26 5.69 13.25 25.84 1.47 na na na
HIGHMEM-RT-V0.7.51-02 1.01 3.88 8.82 17.08 1.24 na 14.1979 27.8158
NOHIGHMEM-RT-V0.7.51-02 1.02 3.90 8.84 17.12 1.30 6.0573 na na

Context switching with 0K - times in microseconds - smaller is better
---------------------------------------------------------------------
2proc/0k 4proc/0k 8proc/0k 16proc/0k 32proc/0k 64proc/0k 96proc/0k
kernel ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch
----------------------------- --------- --------- --------- --------- --------- --------- ---------
HIGHMEM-RT-V0.7.50-35 4.87 5.55 5.01 4.47 4.00 4.45 5.13
NOHIGHMEM-RT-V0.7.50-35 3.25 3.92 3.53 3.10 2.96 3.46 4.09
HIGHMEM-RT-V0.7.51-02 2.70 3.48 3.51 3.50 3.36 3.93 4.82
NOHIGHMEM-RT-V0.7.51-02 1.86 2.23 2.41 2.41 2.41 3.02 3.92

Context switching with 4K - times in microseconds - smaller is better
---------------------------------------------------------------------
2proc/4k 4proc/4k 8proc/4k 16proc/4k 32proc/4k 64proc/4k 96proc/4k
kernel ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch
----------------------------- --------- --------- --------- --------- --------- --------- ---------
HIGHMEM-RT-V0.7.50-35 5.48 4.75 4.47 4.76 4.68 5.90 7.24
NOHIGHMEM-RT-V0.7.50-35 3.88 4.54 4.02 3.91 4.04 4.93 5.85
HIGHMEM-RT-V0.7.51-02 3.25 3.59 3.85 3.89 4.18 5.41 6.75
NOHIGHMEM-RT-V0.7.51-02 2.70 3.01 2.99 3.04 3.31 4.56 6.16

Context switching with 8K - times in microseconds - smaller is better
---------------------------------------------------------------------
2proc/8k 4proc/8k 8proc/8k 16proc/8k 32proc/8k 64proc/8k 96proc/8k
kernel ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch
----------------------------- --------- --------- --------- --------- --------- --------- ---------
HIGHMEM-RT-V0.7.50-35 6.09 5.31 5.22 5.09 5.68 7.82 8.87
NOHIGHMEM-RT-V0.7.50-35 4.51 5.08 4.54 4.36 4.44 6.49 7.75
HIGHMEM-RT-V0.7.51-02 3.85 4.01 4.20 4.31 5.27 7.38 8.51
NOHIGHMEM-RT-V0.7.51-02 3.05 3.49 3.53 3.60 3.99 6.37 7.56

Context switching with 16K - times in microseconds - smaller is better
----------------------------------------------------------------------
2proc/16k 4proc/16k 8proc/16k 16prc/16k 32prc/16k 64prc/16k 96prc/16k
kernel ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch
----------------------------- --------- --------- --------- --------- --------- --------- ---------
HIGHMEM-RT-V0.7.50-35 6.29 5.47 5.55 5.27 7.19 10.87 11.29
NOHIGHMEM-RT-V0.7.50-35 4.72 4.28 4.01 4.37 6.16 9.32 10.01
HIGHMEM-RT-V0.7.51-02 4.20 4.74 4.57 4.78 6.92 10.67 11.16
NOHIGHMEM-RT-V0.7.51-02 3.17 3.45 3.51 3.76 5.65 9.84 10.31

Context switching with 32K - times in microseconds - smaller is better
----------------------------------------------------------------------
2proc/32k 4proc/32k 8proc/32k 16prc/32k 32prc/32k 64prc/32k 96prc/32k
kernel ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch
----------------------------- --------- --------- --------- --------- --------- --------- ---------
HIGHMEM-RT-V0.7.50-35 6.620 5.750 5.990 8.820 12.700 14.610 14.630
NOHIGHMEM-RT-V0.7.50-35 5.460 5.070 5.080 6.270 12.310 14.080 13.970
HIGHMEM-RT-V0.7.51-02 4.800 5.510 5.550 7.050 13.350 14.970 14.940
NOHIGHMEM-RT-V0.7.51-02 3.940 4.250 4.320 6.020 12.010 14.160 14.150

Context switching with 64K - times in microseconds - smaller is better
----------------------------------------------------------------------
2proc/64k 4proc/64k 8proc/64k 16prc/64k 32prc/64k 64prc/64k 96prc/64k
kernel ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch ctx swtch
----------------------------- --------- --------- --------- --------- --------- --------- ---------
HIGHMEM-RT-V0.7.50-35 8.82 9.54 10.67 19.21 23.16 22.94 22.90
NOHIGHMEM-RT-V0.7.50-35 7.20 7.96 8.59 17.75 21.73 21.81 21.79
HIGHMEM-RT-V0.7.51-02 6.68 7.44 9.08 18.70 22.43 22.69 22.66
NOHIGHMEM-RT-V0.7.51-02 5.99 7.35 9.04 17.28 21.81 22.24 22.08

File create/delete and VM system latencies in microseconds - smaller is better
----------------------------------------------------------------------------
0K 0K 1K 1K 4K 4K 10K 10K Mmap Prot Page
kernel Create Delete Create Delete Create Delete Create Delete Latency Fault Fault
------------------------------ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ------
HIGHMEM-RT-V0.7.50-35 14.6 7.7 27.4 16.6 28.8 16.6 43.6 20.1 2862 0.86 2.0
NOHIGHMEM-RT-V0.7.50-35 14.1 7.3 27.3 16.2 27.9 16.0 44.7 21.6 1180 0.86 2.0
HIGHMEM-RT-V0.7.51-02 13.3 6.0 24.9 13.8 25.7 13.8 40.4 16.2 642 1.01 2.0
NOHIGHMEM-RT-V0.7.51-02 12.0 5.9 24.0 13.1 24.5 13.1 40.6 16.1 630 1.55 2.0

*Local* Communication latencies in microseconds - smaller is better
-------------------------------------------------------------------
kernel Pipe AF/Unix UDP RPC/UDP TCP RPC/TCP TCPconn
----------------------------- ------- ------- ------- ------- ------- ------- -------
HIGHMEM-RT-V0.7.50-35 11.52 17.36 23.303 34.6122 25.5294 39.8675 84.95
NOHIGHMEM-RT-V0.7.50-35 8.30 11.89 18.7254 29.2952 19.3239 31.9442 70.27
HIGHMEM-RT-V0.7.51-02 7.10 13.68 21.6852 31.8112 23.3988 37.5052 79.29
NOHIGHMEM-RT-V0.7.51-02 9.86 16.24 19.4907 36.7468 30.8401 45.931 300463.00

*Local* Communication bandwidths in MB/s - bigger is better
-----------------------------------------------------------
File Mmap Bcopy Bcopy Memory Memory
kernel Pipe AF/Unix TCP reread reread (libc) (hand) read write
----------------------------- ------- ------- ------- ------- ------- ------- ------- ------- -------
HIGHMEM-RT-V0.7.50-35 1742.8 2223.2 1119.7 2154.0 3178.3 866.6 881.5 3183.4 1421.0
NOHIGHMEM-RT-V0.7.50-35 1918.1 2382.9 1317.9 2156.4 3170.4 935.9 882.1 3164.5 1410.3
HIGHMEM-RT-V0.7.51-02 2047.8 2400.0 1199.6 2208.6 3181.6 867.2 880.1 3134.9 1417.2
NOHIGHMEM-RT-V0.7.51-02 1367.2 1701.3 1165.6 2067.5 3162.4 887.5 918.2 3156.6 1446.6

*Local* More Communication bandwidths in MB/s - bigger is better
----------------------------------------------------------------
File Mmap Aligned Partial Partial Partial Partial
OS open open Bcopy Bcopy Mmap Mmap Mmap Bzero
close close (libc) (hand) read write rd/wrt copy HTTP
----------------------------- ------- ------- ------- ------- ------- ------- ------- ------- -------
HIGHMEM-RT-V0.7.50-35 2178.2 1350.1 896.7 886.4 3504.0 1455.1 1432.3 1275.7 16.15
NOHIGHMEM-RT-V0.7.50-35 2176.7 1414.6 892.5 878.0 3500.9 1440.6 1425.9 1281.8 18.11
HIGHMEM-RT-V0.7.51-02 2206.5 1453.7 901.3 890.5 3509.9 1453.2 1433.9 1279.3 17.20
NOHIGHMEM-RT-V0.7.51-02 2065.1 1397.8 895.6 931.9 3489.8 1472.5 1450.9 1247.3 16.75

Memory latencies in nanoseconds - smaller is better
---------------------------------------------------
kernel Mhz L1 $ L2 $ Main mem
----------------------------- ----- ------- ------- ---------
HIGHMEM-RT-V0.7.50-35 2779 1.45 10.32 44.9
NOHIGHMEM-RT-V0.7.50-35 2779 1.45 10.41 44.8
HIGHMEM-RT-V0.7.51-02 2779 1.44 10.40 44.8
NOHIGHMEM-RT-V0.7.51-02 2779 1.45 10.23 45.1