linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tejun Heo <htejun@gmail.com>
To: Tejun Heo <htejun@gmail.com>
Cc: "Raz Ben-Jehuda(caro)" <raziebe@gmail.com>,
	Jeff Garzik <jgarzik@pobox.com>,
	linux-ide@vger.kernel.org
Subject: Re: [PATCH] libata: implement ata_qc_exec_internal()
Date: Tue, 29 Nov 2005 12:09:27 +0900	[thread overview]
Message-ID: <438BC667.4040107@gmail.com> (raw)
In-Reply-To: <438BC618.8070300@gmail.com>

Tejun Heo wrote:
> Raz Ben-Jehuda(caro) wrote:
> 
>> does it solve the cpu usage ?
>>
>> On 11/28/05, Tejun Heo <htejun@gmail.com> wrote:
>>
>>> Each user libata internal commands initializes a qc, issues it, waits
>>> for its completion and checks for errors.  This patch factors internal
>>> command execution sequence into ata_qc_exec_internal().  The function
>>> also removes race condition between irq and timeout handling.
>>>
>>> Signed-off-by: Tejun Heo <htejun@gmail.com>
>>>
> 
> Hi, Raz.
> 
> It propabably has nothing to do with the cpu usage problem on piix you 
> reported.  I think you need to post more data to get people on the list 
> interested in your problem.  The followings may help.
> 
> 1. Please report exactly which kernel you're using and more information 
> on the hardware will also help.
> 
> 2. Don't use raid or any fs on it.  Just perform tests on raw /dev/sdx 
> devices.  Do something like 'time dd if=/dev/sdx of=/dev/zero bs=1M 
> count=1024' and report how much user/system time it uses.

Oops, count=1024 is way too small.  Do something like bs=1M count=1M or 
maybe count=10M.

> 
> 3. If above shows large system time consumption, build your kernel with 
> oprofile.  Start recording non-idle cpu cycles (the default) including 
> the kernel.  Repeat test in #2.  Dump oprofile result and post that here.
> 
> Hope it helps.
> 


-- 
tejun

  reply	other threads:[~2005-11-29  3:09 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-28 16:42 [PATCH] libata: implement ata_qc_exec_internal() Tejun Heo
2005-11-28 17:48 ` Raz Ben-Jehuda(caro)
2005-11-29  3:08   ` Tejun Heo
2005-11-29  3:09     ` Tejun Heo [this message]
2005-11-29  3:12       ` Tejun Heo
2005-11-29  7:41 ` Albert Lee
2005-11-29 13:17   ` [PATCH 1/2] libata: implement ata_exec_internal() Tejun Heo
2005-12-04  1:50     ` Jeff Garzik
2005-12-04 14:04       ` Tejun Heo
2005-12-04 19:21         ` Jeff Garzik
2005-12-05  8:26           ` [PATCH 1/3] " Tejun Heo
2005-12-05  8:28           ` [PATCH 2/4] libata: use ata_exec_internal() Tejun Heo
2005-12-05  8:30           ` [PATCH 3/4] libata: remove unused functions Tejun Heo
2005-12-05  8:31           ` [PATCH 4/4] libata: remove unused qc->waiting Tejun Heo
2005-12-09  9:33           ` [PATCH 1/2] libata: implement ata_exec_internal() Tejun Heo
2005-12-11  4:23             ` [PATCH 1/4] " Tejun Heo
2005-12-13  4:58               ` Jeff Garzik
2005-12-13  5:06                 ` Tejun Heo
2005-12-13  5:18                   ` Jeff Garzik
2005-12-13  5:48                     ` Tejun Heo
2005-12-13  5:49                       ` [PATCH 2/4] libata: use ata_exec_internal() Tejun Heo
2005-12-13  5:50                       ` [PATCH 3/4] libata: remove unused functions Tejun Heo
2005-12-13  5:51                       ` [PATCH 4/4] libata: remove unused qc->waiting Tejun Heo
2005-12-13  6:34                       ` [PATCH 1/4] libata: implement ata_exec_internal() Jeff Garzik
2005-12-14 10:01                       ` Albert Lee
2005-12-13  5:22                   ` Jeff Garzik
2005-12-11  4:24             ` [PATCH 2/4] libata: use ata_exec_internal() Tejun Heo
2005-12-11  4:25             ` [PATCH 3/4] libata: removed unused functions Tejun Heo
2005-12-11  4:26             ` [PATCH 4/4] libata: remove unused qc->waiting Tejun Heo
2005-11-29 13:19   ` [PATCH 2/2] libata: remove qc->waiting Tejun Heo

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=438BC667.4040107@gmail.com \
    --to=htejun@gmail.com \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=raziebe@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).