LTC home

Linux Kernel Performance
 LTC Home | Linux Scalability Effort | LinuxKernelPerformance Project | Performance Tools | Disk I/OIOZONE | LMBench | Netbench | Netperf  | SPEC SDET | SPECWeb99 | tiobench | VolanoMark

LMbench benchmark
Introduction
Results 
Test Environment 
Resources 

Introduction

Results

[29 October 2002] Test results are available for Linux SMP kernel 2.2.19, 2.4.17, 2.5.30, 2.5.36, and 2.5.41 running on a 4-way 500 MHz, 512 KB L2 cache, and 2.5 GB memory.

Simple function latency. Data are times in microseconds.

Test Cases

2.2.19smp4

2.4.17smp4

2.5.30smp4

2.5.36smp4

2.5.41smp4

Simple syscall

0.68

0.65

0.70

0.67

0.67

Simple read

1.13

1.17

1.38

1.37

1.42

Simple write

1.03

1.04

1.26

1.20

1.23

Simple stat

6.11

7.95

6.92

7.40

7.52

Simple fstat

1.36

1.51

1.61

1.62

1.69

Simple open/close

7.87

10.02

10.36

9.57

9.93

Select on 10 fd's

3.35

6.36

6.03

6.21

6.50

Select on 100 fd's

9.34

44.41

39.10

41.09

46.36

Select on 250 fd's

19.53

98.41

91.15

106.25

99.69

Select on 500 fd's

36.82

194.21

179.97

193.45

195.85

Select on 10 tcp fd's

5.68

7.88

7.40

8.08

8.66

Select on 100 tcp fd's

28.18

54.40

48.59

58.04

59.39

Select on 250 tcp fd's

66.58

143.10

135.12

143.69

157.36

Select on 500 tcp fd's

130.65

273.85

232.95

276.00

269.23

Signal handler installation

1.77

1.73

1.78

1.82

1.83

Signal handler overhead

2.66

5.41

5.61

5.71

5.85

Protection fault

1.55

1.49

1.41

1.59

1.47

Pipe latency

9.69

14.08

11.06

11.81

12.33

AF_UNIX sock stream latency

18.65

35.16

20.49

21.21

22.71

Process fork+exit

419.62

537.40

514.82

495.58

504.64

Process fork+execve

1549.50

1740.25

1835.33

1792.83

1820.94

Process fork+/bin/sh -c

66320

8101

8408

8353

8644

File system throughput. Data are number of creations or removals per second.

File Size

2.2.19smp4

2.4.17smp4

2.5.30smp4

2.5.36smp4

2.5.41smp4

Creations

0k

15507

7296

12758

12675

11854

1k

8890

5536

7591

7424

6861

4k

8240

5312

7151

6936

6528

10k

5422

4249

4892

4729

4594

Removals

0k

114824

87352

96034

95150

89692

1k

48061

59744

41353

38498

35964

4k

47813

60017

41324

38463

35976

10k

33022

51677

29619

28773

26204

Communication latency and bandwidth. Data are times in microseconds for latency and MB/sec for bandwidth.

2.2.19smp4

2.4.17smp4

2.5.30smp4

2.5.36smp4

2.5.41smp4

UDP latency using localhost

51.92

58.37

34.74

38.25

38.35

TCP latency using localhost

63.53

85.78

56.56

55.95

60.23

RPC/tcp latency using localhost

114.37

131.03

120.22

121.67

125.97

RPC/udp latency using localhost

88.44

104.66

90.75

91.45

93.05

TCP/IP connection cost to localhost

123.78

189.86

191.91

186.97

202.75

Note: Latency is in microseconds

Socket bandwidth using localhost

110.44

79.55

128.51

100.18

88.03

AF_UNIX sock stream bandwidth

220.16

142.48

169.74

165.71

158.29

Pipe bandwidth

217.31

324.53

232.96

234.54

188.02

Note: Bandwidth is in MB/sec

Context switching latency. Data are times in microseconds.

Test Cases

2.2.19smp4

2.4.17smp4

2.5.30smp4

2.5.36smp4

2.5.41smp4

size=0k

2

1.88

3.23

1.93

2.29

2.38

4

2.79

4.09

2.57

2.91

3.05

8

3.03

4.48

3.31

3.47

3.80

16

3.12

4.63

3.38

3.53

3.93

24

3.13

4.87

3.36

3.65

3.91

32

3.2

4.9

3.43

3.86

4.07

64

4.06

5.09

3.9

4.02

4.24

96

4.54

5.57

4.23

4.32

4.56

size=4k

2

2.71

4.49

2.5

2.79

3.29

4

4.68

6.84

5.94

5.20

6.11

8

5.7

7.65

6.02

6.57

6.75

16

5.64

7.66

6.16

6.53

6.70

24

5.64

7.69

7.33

6.63

7.18

32

5.64

7.6

8.36

7.07

7.61

64

6.72

7.92

9.69

7.77

8.88

96

8.78

9.35

10.34

8.65

9.42

size=8k

2

5.48

7.36

5.36

5.32

6.15

4

8.18

10.05

8.33

8.45

9.22

8

8.12

10.04

8.56

8.85

9.52

16

8.05

10.04

11.55

10.02

10.35

24

8.06

10.11

13.41

10.76

11.55

32

8.03

10.21

13.94

12.12

12.59

64

10.35

11.95

13.02

12.54

13.19

96

15.33

15.4

12.42

13.20

13.10

size=16k

2

14

15.7

15.91

14.08

14.59

4

14.03

16.04

18.85

14.95

16.65

8

14

15.94

19.59

17.73

18.78

16

13.97

16.21

21.21

19.75

20.10

24

16.38

16.46

21

19.91

20.36

32

16.54

16.87

21.04

19.72

20.46

64

30.9

20.91

18.8

20.01

19.75

96

43.15

21.78

22.4

22.38

23.64

size=32k

2

22.75

24.98

28.42

27.87

27.71

4

22.85

24.96

29.7

29.12

28.28

8

22.77

24.92

30.8

29.39

29.40

16

31.55

24.91

30.03

30.01

29.90

24

49.55

26

30.28

29.90

29.73

32

46.52

37.44

30.12

28.60

28.48

64

89

38.79

42.45

45.15

46.95

96

104.83

43.7

53.54

61.91

67.29

size=64k

2

40.68

42.65

46.12

45.76

45.70

4

40.76

43.23

47.3

46.95

46.19

8

40.81

43.02

47.42

48.51

47.83

16

41.46

57.38

48.77

48.75

50.03

24

89.82

54.24

51.69

49.29

50.69

32

154.63

61.99

52.89

51.61

53.40

64

212.44

91.55

101.93

95.67

103.28

96

215.7

137.52

138.66

139.78

157.88

Test Environment

Resources

Last updated: 29 October 2002