From: Russell Coker Subject: Re: non volatile ram devices Date: Fri, 6 Dec 2002 10:52:59 +0100 Message-ID: <200212061052.59139.russell@coker.com.au> References: <200212042059.35300.russell@coker.com.au> <200212051000.32340.russell@coker.com.au> <1039094639.8199.119.camel@tiny> Reply-To: Russell Coker Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_BGZOJHVSJMMQXCK0QEZ0" Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <1039094639.8199.119.camel@tiny> List-Id: To: Chris Mason Cc: Ragnar =?iso-8859-1?q?Kj=F8rstad?= , ReiserFS , Mike Jadon --------------Boundary-00=_BGZOJHVSJMMQXCK0QEZ0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit On Thu, 5 Dec 2002 14:23, Chris Mason wrote: > On Thu, 2002-12-05 at 04:00, Russell Coker wrote: > > In this case the machines each have 4G of RAM. The total RAM for the > > mail cluster is four times what was used for the Solaris cluster, and > > Intel X86 architecture uses less RAM than SPARC (32bit CISC vs 64bit > > RISC) and I suspect that the software we're now using (Qmail and Courier) > > is more memory efficient than Netscape too. Overall we have heaps more > > cache memory than before, I'm seeing 20 reads per second and 160 writes > > per second at times of peak load. > > Have you benchmarked these machines to determine the max write load > capacity on reiserfs? Are you using a vanilla kernel or one with > patches applied? I'm using a fairly vanilla kernel. It's performance is 2 messages per second taken from qmail spool and delivered while there is a background load of pop access and new incoming mail. IE if there is a backlog of mail to deliver the backlog gets smaller by 120 messages per minute. > I've done a few of my own benchmarks of the data logging patches, but it > would be great to see some independent verification of the speedups in a > real mail server workload. I've attached the results from a quick bonnie++ run of a vanilla system, a system with the patches you referred me to, and finally with the file system mounted with data journalling. The test was pretty quick (only a single pass) because I've spent so much time fiddling with the crappy test hardware to be inclined to spend too much effort on it (how the hell is a P3-600 with a 6G IDE drive and 128M of RAM supposed to be used for evaluating software to deploy on a server with 2*1.8GHz CPUs, 196G of hardware RAID, and 4G of RAM). The results seem to show that the patches do some good on their own, nothing really exciting but worth having. The data journalling improves performance of synchronously creating files in the 512b to 16K size range (the issue I am interested in) by a factor of 7! This is very promising, I only hope that the performance gains when 200 processes are hitting a hardware RAID array of 4 U160 disks are as good as when a single process is hitting a cheap old IDE disk. This may even remove the immediate need for umem devices. But I think I'll try and get them anyway. Extra speed is always useful. -- http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page --------------Boundary-00=_BGZOJHVSJMMQXCK0QEZ0 Content-Type: text/html; charset="iso-8859-1"; name="res.html" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="res.html" Bonnie++ V1.02d Benchmark results <= TD class=3D"ksec">/ sec<= TD>879= = <= TD class=3D"size"><= TD>36=
Sequential Output= Sequential Input<= /FONT> RandomSeeks Sequential Create= Random Create
Size:Chunk SizePer CharBlockRewritePer CharBlockNum FilesCreateReadDeleteCrea= teReadDelete
K/sec% CPUK/sec% CPU= K/sec% CPUK/= sec% CPUK/sec% CPU/ sec<= /TD>% CPU/ sec% CPU/ sec% CPU= / sec% CPU= / sec% CPU/ sec% CPU% CPU
orig10:16384:512/5946378916099992886055310
patched10:16384:512/= 573823115161421001275781261397174
jdata10:16384:512/5<= /TD>7142215915616100683211291506798
orig.sync<= /TD>10:16384:51= 2/537211115022861362
patched.sync10:16384= :512/5362152213773521271804
jdata.sync= 10:16384:5= 12/522514127123613<= /TD>2271515011006
--------------Boundary-00=_BGZOJHVSJMMQXCK0QEZ0--