Re: Hibernation takes too long

2019-07-23 Thread Rick Thomas
And here’s an example where the output media is an SD card: rbthomas@nuc8:/media/rbthomas/99602c92-f887-4578-b6bc-39c91d49c43c/rbthomas$ dd if=/dev/zero of=tempfile bs=1M count=1024 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 0.48058 s, 2.2 GB/s

Re: Hibernation takes too long

2019-07-23 Thread Rick Thomas
You need to add the clause “oflag=sync” on your dd commands. Without it the MB/s numbers are really just measuring how fast you can fill up the RAM cache (for write) or scoop up data from the RAM cache (in the case of read). Here’s an example from one of my machines with a SATA-III SSD and

Re: Hibernation takes too long

2019-07-23 Thread Michael Kesper
Hi all, sorry for having spread half-knowledge here. On 22.07.19 15:53, Stefan Monnier wrote: > Also, if the problem is in the time it takes to write the hibernation > data, then those 2 minutes should mostly be spent with a display that > says "blabla ... NN%" where the NN slowly goes from 0 to

Re: Hibernation takes too long

2019-07-22 Thread Stefan Monnier
> I attached a screen shot of read write speed. > The 2 min hibernation time is when there is little or no contents > present. If I have many things opened, it would take more. Also, if the problem is in the time it takes to write the hibernation data, then those 2 minutes should mostly be spent

Re: Hibernation takes too long

2019-07-21 Thread Anders Andersson
On Sun, Jul 21, 2019 at 4:50 AM Michael Kesper wrote: > Am 21. Juli 2019 02:45:39 MESZ schrieb Shahryar Afifi > : > >here is my setup: > >X61 with Middleton's bios (SATA 2) > >... > > ... > The X61 will throttle SSD throughput as it has less bandwidth than modern > SATA adapters. So,

Re: Hibernation takes too long

2019-07-21 Thread Stefan Monnier
> What is the proportional size between RAM and swap? There's no such thing. They're both sized depending on your particular needs. Stefan

Re: Hibernation takes too long

2019-07-21 Thread Stefan Monnier
> Afaik it's advised to copy files to SSDs and not copy blockwise (dd) because > layouts can differ very much and performance would suffer. As long as the filesystem is properly aligned on a 4KB boundary, I don't think there'll be any noticeable difference. I highly doubt this explains the 2

Re: Hibernation takes too long

2019-07-20 Thread Michael Kesper
Hi all, Am 21. Juli 2019 02:45:39 MESZ schrieb Shahryar Afifi : >Thank you for your insight. >your explanation was helpful. >here is my setup: >X61 with Middleton's bios (SATA 2) >buster amd64 >upgraded from strech >cloned from 64GB to 128GB How did you do that? Afaik it's advised to copy files

Re: Hibernation takes too long

2019-07-20 Thread Carl Fink
On 7/20/19 8:16 PM, Rick Thomas wrote: If 12GB is reasonable (I have no idea, I don’t use “hibernate” myself) here are figures to input to the calculation: I was just assuming that Shahryar's hibernation involved backing up the full contents of both RAM and swap, which would be 12 gb. -- Carl

Re: Hibernation takes too long

2019-07-20 Thread Rick Thomas
If 12GB is reasonable (I have no idea, I don’t use “hibernate” myself) here are figures to input to the calculation: SSD sustained write transfer rate is between 30 MB/sec and 120 MB/sec. Closer to 30 MB/sec (or even slower) if it’s a USB-3 thumb drive (even less than that if USB-2); closer to

Re: Hibernation takes too long

2019-07-20 Thread Carl Fink
On 7/20/19 12:43 AM, Shahryar Afifi wrote: Up to 2 Min amd64 buster X61 6GB dynamic 6GB swap swapness 50 I don't know which log file to loo into... Thank you. What are you using for bulk storage? Your system has to copy ~12 gigabytes into it. Do the math--is that the main reason for your