All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jagdish Motwani <jagdish.motwani@elitecore.com>
To: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org
Subject: performance degradation on kernel upgrade (due to commit ab0a9735e06914ce4d2a94ffa41497dbc142fe7f )
Date: Fri, 21 Sep 2012 19:17:56 +0530	[thread overview]
Message-ID: <505C700C.3010403@elitecore.com> (raw)

Recently i upgraded my kernel from 2.6.29.6 to 2.6.35.14.

After upgrading i got very poor performance on my postgre database.


My test.sql contains 10000 postgre insert query


Linux  2.6.29.6

time psql -U user -d database -f test.sql  > /dev/null
real    0m 7.23s
user    0m 0.38s
sys     0m 0.12s



Linux  2.6.35.14

# time psql -U user -d database -f test.sql  > /dev/null
real    1m 4.05s
user    0m 0.44s
sys    0m 0.12

I even tried Linux 3.5.4 and got similar results.

Using git bisect, i got commit ab0a9735e06914ce4d2a94ffa41497dbc142fe7f

Is it a behavior change or am i missing something? Are there any 
workarounds for this?


Regards,
Jagdish Motwan

             reply	other threads:[~2012-09-21 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-21 13:47 Jagdish Motwani [this message]
2012-09-21 14:17 ` performance degradation on kernel upgrade (due to commit ab0a9735e06914ce4d2a94ffa41497dbc142fe7f ) Jeff Moyer
2012-09-21 14:25 ` performance degradation on kernel upgrade (due to commit ab0a9735e06914ce4d2a94ffa41497dbc142fe7f) Andres Freund
2012-09-24  5:45   ` Jagdish Motwani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=505C700C.3010403@elitecore.com \
    --to=jagdish.motwani@elitecore.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.