* Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DB Workload
@ 2002-09-17 18:30 Peter Wong
2002-09-17 20:04 ` Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DBWorkload Andrew Morton
0 siblings, 1 reply; 3+ messages in thread
From: Peter Wong @ 2002-09-17 18:30 UTC (permalink / raw)
To: linux-mm, lse-tech; +Cc: riel, akpm, mjbligh, wli, dmccr
I measured a decision support workload using two 2.5.26-based
kernels, one of which does NOT have the rmap rollup patch while the
other HAS. The database size is 100GB. The 2.5.26 rmap rollup patch
was created by Dave McCracken.
Based upon the throughput rate and CPU utilization, the two
kernels achieve similar performance.
Based upon /proc/meminfo, the maximum reversemap size is
22,817,885.
Based upon /proc/slabinfo, the maximum number of active pte_chain
objects is 3,411,018 with 32 bytes each. It consumes about 104 MB. The
maximum number of slabs allocated for pte_chains is 30,186 with 4KB
each, corresponding to about 118 MB. Similar memory consumption for
rmaps is observed while running the same workload and using Andrew
Morton's mm2 patch under 2.5.32. Andrew's patch can be found at
http://www.zip.com.au/~akpm/linux/patches/2.5/2.5.32/2.5.32-mm2/.
Note that since readv is not available on 2.5.26, the runs above
used "read" instead of "readv".
My previous note (Sept. 10, 2002) indicated that the memory
consumption for rmaps under 2.5.32 using "readv" is about 223 MB. And
"readv" is the preferred method for this workload. The difference of
memory consumption by using read (118 MB) and readv (223 MB) is likely
due to the different I/O algorithms used by the DBMS. When there are
multiple instances of this workload running concurrently, the amount
of memory allocated to rmaps is even more significant. More data will
be provided later.
----------------------------------------------------------------------
System Information:
- 8-way 700MHz Pentium III Xeon processors, 2MB L2 Cache
- 4GB RAM
- 6 SCSI controllers connected to 120 9.1 GB disks with 10K RPM
----------------------------------------------------------------------
Regards,
Peter
Peter Wai Yee Wong
IBM Linux Technology Center, Performance Analysis
email: wpeter@us.ibm.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DBWorkload
2002-09-17 18:30 Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DB Workload Peter Wong
@ 2002-09-17 20:04 ` Andrew Morton
2002-09-17 20:08 ` Martin J. Bligh
0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2002-09-17 20:04 UTC (permalink / raw)
To: Peter Wong; +Cc: linux-mm, lse-tech, riel, mjbligh, wli, dmccr
Peter Wong wrote:
>
> ...
> My previous note (Sept. 10, 2002) indicated that the memory
> consumption for rmaps under 2.5.32 using "readv" is about 223 MB.
Thanks, Peter.
That's a ton of memory. Where do we stand wrt getting these
applications to use large-tlb pages?
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DBWorkload
2002-09-17 20:04 ` Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DBWorkload Andrew Morton
@ 2002-09-17 20:08 ` Martin J. Bligh
0 siblings, 0 replies; 3+ messages in thread
From: Martin J. Bligh @ 2002-09-17 20:08 UTC (permalink / raw)
To: Andrew Morton, Peter Wong
Cc: linux-mm, lse-tech, riel, wli, dmccr, gh, Bill Hartner, Troy C Wilson
> That's a ton of memory. Where do we stand wrt getting these
> applications to use large-tlb pages?
We need standard interfaces (like shmem) to get DB2 to port, and probably
most other applications. Having magic system calls is all very well in theory,
but not much use in practice.
And yes, we're still working on it.
M.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-17 20:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17 18:30 Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DB Workload Peter Wong
2002-09-17 20:04 ` Examining the Performance and Cost of Revesemaps on 2.5.26 Under Heavy DBWorkload Andrew Morton
2002-09-17 20:08 ` Martin J. Bligh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox