mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: markw@osdl.org
To: jun.nakajima@intel.com
Cc: piggin@cyberone.com.au, mingo@redhat.com,
	linux-kernel@vger.kernel.org, pgsql-hackers@postgresql.org
Subject: Re: more dbt-2 results hyperthreading on linux-2.6.0-test11
Date: Fri, 12 Dec 2003 15:32:29 -0800 (PST)	[thread overview]
Message-ID: <200312122332.hBCNWWZ08245@mail.osdl.org> (raw)
In-Reply-To: <7F740D512C7C1046AB53446D372001736187A9@scsmsx402.sc.intel.com>

Hi Jun,

DBT-2 is a fair use implementation of the TPC-C (OLTP), if you're
familiar with that.

I have 14 drives attached through 1 megaraid raid controller, and 52
drives connected through 4 channels on 2 mylex raid controllers, all in
a raid-0 configuration.  I am using LVM2 on both sets of drives.

iostat tells me that each of the 14 drives attached through the raid
controller are utilized < 2%, while each of the other 52 drives seem to
peak at about 48% in one of the hyperthreaded cases (274).  I'm not too
familiar with the umpteen other columns that iostat reports, but that
suggests to me I have a fair amount of i/o headroom. Unfortunitely, I
don't believe I can get my hands on any addition drives or
controllers...

Mark


On 12 Dec, Nakajima, Jun wrote:
> I'm not familiar with this particular workload, but noticed higher idle
> and wait time with HT enabled, compared to HT-disabled case. This kind
> of symptom often indicated insufficient I/O bandwidth from my
> experience, and faster systems (with more threads) tend to show lower
> throughput because you end up measuring disk seek time of more I/O
> requests. Can you add more disk controller(s) and disks?
> 
> Jun
>> -----Original Message-----
>> From: linux-kernel-owner@vger.kernel.org [mailto:linux-kernel-
>> owner@vger.kernel.org] On Behalf Of markw@osdl.org
>> Sent: Friday, December 12, 2003 2:28 PM
>> To: piggin@cyberone.com.au
>> Cc: mingo@redhat.com; linux-kernel@vger.kernel.org; pgsql-
>> hackers@postgresql.org
>> Subject: more dbt-2 results hyperthreading on linux-2.6.0-test11
>> 
>> Hi Nick,
>> 
>> Here are the results of the comparisons I said I would do.
>> 
>> no-hyperthreading:
>> 	http://developer.osdl.org/markw/dbt2-pgsql/282/
>> 	- metric 2288.43
>> 	- baseline
>> 
>> hyperthreading:
>> 	http://developer.osdl.org/markw/dbt2-pgsql/278/
>> 	- metric 1944.42
>> 	- 15% throughput decrease
>> 
>> hyperthreading w/ Ingo's C1 patch:
>> 	http://developer.osdl.org/markw/dbt2-pgsql/277/
>> 	- metric 1978.39
>> 	- 13.5% throughput decrease
>> 
>> hyperthreading w/ Nick's w26 patch:
>> 	http://developer.osdl.org/markw/dbt2-pgsql/274/
>> 	- metric 1955.91
>> 	- 14.5% throughput decrease
>> 
>> It looks like there is some marginal benefit to your or Ingo's patches
>> with a workload like DBT-2.  I probably don't understand enough about
>> hyperthreading, but I wonder if there's something PostgreSQL can do to
>> take advantage of hyperthreading
>> 
>> Anyway, each link has pointers to readprofile and annotated oprofile
>> assembly output (if you find that useful.)  I haven't done enough
> tests
>> to have an idea of the error margin, but I wouldn't be surprised if
> it's
>> at least 1%.
>> 
>> Let me know if there's anything else you'd like me to try.
>> 
>> Thanks,
>> Mark


  reply	other threads:[~2003-12-12 23:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-12 22:56 Nakajima, Jun
2003-12-12 23:32 ` markw [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-12 22:28 markw

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=200312122332.hBCNWWZ08245@mail.osdl.org \
    --to=markw@osdl.org \
    --cc=jun.nakajima@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=pgsql-hackers@postgresql.org \
    --cc=piggin@cyberone.com.au \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®