Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Swapping and Kernel 2.6


  • From: "Guillaume Nobiron" <guillaume(dot)nobiron(at)vif(dot)tm(dot)fr>
  • To: <pgsql-performance(at)postgresql(dot)org>
  • Subject: Swapping and Kernel 2.6
  • Date: Tue, 10 May 2005 15:01:13 +0200
  • Message-id: <001001c55560$58765aa0$72010180@Guillaumen> <text/plain>

Hi,

Environment :
 - Fedora Core 2 (kernel 2.6.10)
 - postgresql 7.4.7

I am running a huge query with several joins that needs around 900
Mbytes of Memory (System RAM is 512 Mbytes).

When the system starts to swap the postgres process, CPU consumed drops
to around 2% (instead of around 50% on another system with kernel 2.4).
The query was still working after more than 4 hours, spending the time
with 98% if IO wait.

So I tried to run the postmaster with the environment variable
LD_ASSUME_KERNEL=2.4.1. With this, the query last 7 minutes !!!

Why swapping is so bad with the new kernel ?

Thanks,

Guillaume




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group