lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 12 Sep 2009 10:54:56 -0600
From:	Robert Hancock <hancockrwd@...il.com>
To:	Anil kumar <anils_r@...oo.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: hibernate takes long time with huge file transfers

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
>
>
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ