RE: Linux TPC-C performance aided by kernel features

From: Bond, Andrew (
Date: Thu Sep 19 2002 - 10:41:32 EST

I don't have exact numbers, but I believe the gains were in the 12-15% range going from 4 to 8GB.

Yes, I believe that there are situations where you could add more memory >4GB and lose performance. When we went from 8GB to 16GB we lost 5% performance just because the memory was in the system. We ran tests that used the same about of memory in both cases and performance went down when the system had 16GB.

Seeing a slowdown adding memory >4GB is also very possible if you don't have a kernel/driver/controller that supports 64-bit DMA. The bounce buffer activity can be very costly. For instance, in the benchmark we just published we could not use 64-bit DMA so we spent about 40% of our time in the kernel when we should be spending only about 20%.


> -----Original Message-----
> From: Matthew Kirkwood []
> Sent: Thursday, September 19, 2002 6:27 AM
> To: Bond, Andrew
> Cc:
> Subject: Re: Linux TPC-C performance aided by kernel features
> On Wed, 18 Sep 2002, Bond, Andrew wrote:
> > 2. Large memory support (16GB) - The Oracle processes used
> about 14GB
> > of shared memory which was allocated using shmfs and
> managed through a
> > mapping window in the Oracle process space. Databases always love
> > more memory, however in an IA-32 architecture the gains definitely
> > diminish once you get past 4GB because of overhead. Our gains going
> > from 8GB to 16GB of memory in the system were in the 10% range.
> What did the gains from 4 to 8GB look like?
> Could going above 4GB be a performance loss on less busy systems?
> #
> Matthew.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:26 EST