From: Robert Hancock <hancockrwd@gmail.com>
To: Anil kumar <anils_r@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: hibernate takes long time with huge file transfers
Date: Sat, 12 Sep 2009 10:54:56 -0600 [thread overview]
Message-ID: <4AABD260.1000708@gmail.com> (raw)
In-Reply-To: <12538.96333.qm@web32408.mail.mud.yahoo.com>
On 09/11/2009 12:04 PM, Anil kumar wrote:
> Hi,
>
> I am running a huge file transfer by using simple dd command. I see that the process state of this dd is "D" uninterruptible sleep. Now I hibernate the system.
>
> what I observe is that hibernate takes long time to complete. Looks like its waiting for the "dd" command to complete.
> My understanding is that since the process is in uninterruptible sleep, hibernate is not able to stop the task.
>
> Question:
> 1. Does hibernation work this way wherein it waits for the process to complete and then hibernate. Especially if the process is in uninterruptible sleep state.
> 2. What if the process is not in uninterruptible sleep?
I don't imagine the fact it's in D state would have anything to do with
it, more likely that it's constantly generating writes and the
hibernation process does a sync, which may take a long time if something
is dirtying memory as fast it can be written out..
> 3. Does sync'ing also adds to longer durations?
>
> Thanks in advance for the help.
>
> With regards,
> Anil
>
>
>
prev parent reply other threads:[~2009-09-12 16:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-11 18:04 hibernate takes long time with huge file transfers Anil kumar
2009-09-12 16:54 ` Robert Hancock [this message]
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=4AABD260.1000708@gmail.com \
--to=hancockrwd@gmail.com \
--cc=anils_r@yahoo.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox