All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Gwendal Grignou <gwendal@google.com>
Cc: todd.e.brandt@linux.intel.com,
	Jej B <James.Bottomley@hansenpartnership.com>,
	IDE/ATA development list <linux-ide@vger.kernel.org>,
	linux-scsi@vger.kernel.org
Subject: Re: [PATCH/RESEND v2 0/2] Hard disk S3 resume time optimization
Date: Tue, 14 Jan 2014 09:43:25 -0500	[thread overview]
Message-ID: <20140114144325.GC12131@htj.dyndns.org> (raw)
In-Reply-To: <CAMHSBOXzU3Y=oH1Nzxash0wJvuc6Y9hoOcbvdstyOaO77QQLkA@mail.gmail.com>

Hello, Gwendal.

On Mon, Jan 13, 2014 at 04:36:52PM -0800, Gwendal Grignou wrote:
> Won't this patch defeat staggered spinup at resume? If you have a jbod
> with a smallish power supply, with a 12V rail designed for the steady
> state and 1 or 2 devices spinning up at once, you may be in trouble
> when all the disks will want to spinup in same second.

Yeah, I think it would.  We never fully solved the staggered spinup
problem and it probably is too late to invest into proper mechanism
for that.  I think an easy workaround would be, say, have a kernel
param which limits the max number of concurrent async wakeups and set
the value to something reasonable - say, 2, which should give us most
of benefits of async wakeup in vast majority of cases while avoiding
blowing up PSUs on larger setups.

Thanks.

-- 
tejun

  reply	other threads:[~2014-01-14 14:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-08  0:55 [PATCH/RESEND v2 0/2] Hard disk S3 resume time optimization Todd E Brandt
2014-01-14  0:36 ` Gwendal Grignou
2014-01-14 14:43   ` Tejun Heo [this message]
2014-01-14 21:45     ` Todd E Brandt
2014-01-16 22:43       ` Gwendal Grignou

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=20140114144325.GC12131@htj.dyndns.org \
    --to=tj@kernel.org \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=gwendal@google.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=todd.e.brandt@linux.intel.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 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.