lkml.org 
[lkml]   [2000]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Decrease hash table memory overhead
On Tue, 1 Aug 2000, Mark Hemment wrote:
> I've attached a patch (against 2.4.0-test5) for the page cache, which
> [skip]

Hi Mark,

I have just tested your patch against 2.4.0-test6-pre1 and the results are
very nice - i.e. it significantly improves performance. I used two
different tests and they both speak in one voice to your favour:

a) 3 concurrent bonnies

b) 2 concurrent postmarks (with number=20000, trans=50000, rest is
default)

The results of benchmarks are attached.

Regards,
Tigran
Before Mark's patch

3 concurrent bonnies
====================

-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 6650 21.1 13570 17.0 3868 5.3 24800 72.7 194565 70.3 44051.4 198.2
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 6704 21.8 12441 16.6 3959 5.2 24195 67.8 255773 99.9 30453.9 137.0
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 6658 21.3 12934 15.5 4597 5.2 23178 65.9 246851 101.2 44938.8 202.2

2 concurrent postmarks (typical output)
=======================================

Time:
1056 seconds total
739 seconds of transactions (67 per second)

Files:
44948 created (42 per second)
Creation alone: 20000 files (102 per second)
Mixed with transactions: 24948 files (33 per second)
24990 read (33 per second)
24972 appended (33 per second)
44948 deleted (42 per second)
Deletion alone: 19896 files (163 per second)
Mixed with transactions: 25052 files (33 per second)

Data:
145.70 megabytes read (137.97 kilobytes per second)
263.94 megabytes written (249.94 kilobytes per second)

After Mark's patch

3 concurrent bonnies
====================

-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 6780 21.8 12669 15.8 4553 5.7 25889 75.6 260176 99.1 44849.6 201.8
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 6715 21.4 15025 17.2 3607 4.5 26252 76.4 220577 73.2 42317.7 190.4
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
100 6747 22.1 12431 15.3 3565 4.7 25909 73.9 258342 98.4 35363.8 168.0

2 concurrent postmarks (typical output)
=======================================

Time:
968 seconds total
690 seconds of transactions (72 per second)

Files:
44948 created (46 per second)
Creation alone: 20000 files (109 per second)
Mixed with transactions: 24948 files (36 per second)
24990 read (36 per second)
24972 appended (36 per second)
44948 deleted (46 per second)
Deletion alone: 19896 files (207 per second)
Mixed with transactions: 25052 files (36 per second)

Data:
145.70 megabytes read (150.51 kilobytes per second)
263.94 megabytes written (272.66 kilobytes per second)

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.092 / U:0.868 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site