I removed the suspect SD card from the RPi3 and tested it in my laptop.
# hdparm -Tt /dev/mmcblk0
/dev/mmcblk0:
Timing cached reads: 15750 MB in 2.00 seconds = 7893.74 MB/sec
Timing buffered disk reads: 88 MB in 3.05 seconds = 28.82 MB/sec <---
This was 365 kB/sec in the RPi3.
It seems to test OK in the laptop. Bad connection in the RPi3 ?
So I prepared a second class 10 SD card with the same image. I tested it in
the laptop that I used to prepare it.
# hdparm -Tt /dev/mmcblk0
/dev/mmcblk0:
Timing cached reads: 15908 MB in 2.00 seconds = 7973.32 MB/sec
Timing buffered disk reads: 54 MB in 3.05 seconds = 17.71 MB/sec
The second SD is actually slower to read than the first one, in the
laptop. 28.82 versus 17.71 MB/sec
I booted the 2nd SD card in the RPi3.
# hdparm -Tt /dev/mmcblk0
/dev/mmcblk0:
Timing cached reads: 816 MB in 2.00 seconds 408.21 MB/sec
Timing buffered disk reads: 66 MB in 3.03 seconds = 21.81 MB/sec <---
Faster than it was in the laptop !
#time dnf update - install 32 packages, update 275, just like last time
I ran #time dnf update and stopped it at 47 packages.
real: 30m46.181s
user: 0.00s
sys: 0m.020s
I retested the SD card and got the same read speeds as above.
On Wed, Jan 24, 2018 at 2:06 PM, Duff, Bryan <bryan.duff1(a)abbott.com> wrote:
> That would be a good place to start. FWIW, all my micro SD cards are
> Sandisk ultra’s . Unfortunately I don’t see that /sys/block is well
> populated (no model).
>
>
>
> -Bryan
>
>
>
> *From:* linux guy [mailto:linuxguy123@gmail.com]
> *Sent:* Wednesday, January 24, 2018 2:51 PM
> *To:* Duff, Bryan
> *Cc:* Richard Ryniker; arm(a)lists.fedoraproject.org; marcin steć
> *Subject:* Re: [fedora-arm] Re: Exactly how slow is Fedora 27 on an RP3 ?
> dnf update takes hours ?
>
>
>
> Found the issue:
>
>
>
> sudo hdparm -Tt /dev/mmcblk0
>
>
>
> /dev/mmcblk0:
>
> Timing cached reads: 240 MB in 2.00 seconds = 119.84 MB/sec
>
> Timing buffered disk reads: 2 MB in 5.60 seconds = 365.82 kB/sec
> <------ Wow !
>
>
>
> Bad memory card ????
>
>
>
>
>
> On Wed, Jan 24, 2018 at 1:39 PM, Duff, Bryan <bryan.duff1(a)abbott.com>
> wrote:
>
> Eh, I’ll give it a go… on F26 armhf7l. Keep in mind my repos may be
> different, so it might very the timing by maybe 30s?
>
>
>
> time sudo dnf install rygel –y
>
>
>
> Unfortunately it’s only 21 packages for me. And now that I look at it,
> would probably be better to “dnf download” first and time that separately.
>
>
>
> //start snip
>
> …
>
> Complete!
>
>
>
> real 3m34.645s
>
> user 1m54.094s
>
> sys 1m19.396s
>
> # and
>
> sudo hdparm -Tt /dev/mmcblk0
>
>
>
> /dev/mmcblk0:
>
> Timing cached reads: 834 MB in 2.00 seconds = 417.21 MB/sec
>
> Timing buffered disk reads: 68 MB in 3.06 seconds = 22.24 MB/sec
>
> //end snip
>
>
>
> Thanks.
>
>
>
> -Bryan
>
>
>
> *From:* linux guy [mailto:linuxguy123@gmail.com]
> *Sent:* Wednesday, January 24, 2018 2:31 PM
> *To:* Richard Ryniker
> *Cc:* arm(a)lists.fedoraproject.org; marcin steć
> *Subject:* [fedora-arm] Re: Exactly how slow is Fedora 27 on an RP3 ? dnf
> update takes hours ?
>
>
>
> I just ran #time dnf install rygel on my fresh install. It required 56
> packages.
>
>
>
> real 64m43.986s
>
> user 1m59.778s
>
> sys 0m25.893s
>
>
>
> This is on a console only machine, no GUI.
>
>
>
> Could someone run the same process on their RPi3 and see what they get ?
>
>
>
>
>
> This communication may contain information that is proprietary,
> confidential, or exempt from disclosure. If you are not the intended
> recipient, please note that any other dissemination, distribution, use or
> copying of this communication is strictly prohibited. Anyone who receives
> this message in error should notify the sender immediately by telephone or
> by return e-mail and delete it from his or her computer.
>
>
>