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

Re: strange performance problem


  • From: Linos <info(at)linos(dot)es>
  • Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
  • Subject: Re: strange performance problem
  • Date: Sun, 01 Mar 2009 01:50:59 +0100
  • Message-id: <49A9DBF3.2000309@linos.es> <text/plain>


I have been testing with tcpdump but i dont see the problem in the traffic (aside from the fact that it gives big jumps in ms between packets of data, but i dont know why), i have tested on other debian machines with the same result, i have upgraded kernel to 2.6.28 and postgresql to 8.3.6 (equal versions of my Arch Linux Development machine), but still have the same problem:

-query with \timing with "psql -d database" ~110ms
-query with \timing with "psql -d database -h localhost" ~4400ms

Using tcp the cpu of postgresql spike to the max it can borrow within the query. I have attached the tcpdump logs of a debian machine and the Arch too (maybe anyone can see anything in them that i can not). How i can test pure speed in the loopback interface? i have tried iperf but seems to be cpu bound so maybe the results are misleading.


The pcap files are here for download, the mail with the attachment seems to not get into the list so here it is a link to download them.
http://www.linos.es/pcap_files.tar.bz2

Regards,
Miguel Angel.




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group