Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: [gentoo-user] Sata hard drive speed question
Date: Thu, 13 Dec 2018 00:48:57
Message-Id: 43afb4f2-e1ba-a558-7f80-2015d91b7177@gmail.com
1 Howdy,
2
3 I bought a 8TB hard drive.  Seagate 8TB 5E8 Exos ST8000AS0003 is the
4 exact model info.  It seems to be slow.  First, I had it hooked to a
5 adapter to a USB port.  I expected it to be a little slow but it gave me
6 memories of the old dial-up days.  When it shows KBs/second, it's
7 getting slow for a sata drive.  So, I moved it inside the case with a
8 sata connection directly to the mobo.  I unhooked my DVD burner for
9 this.  It's somewhat faster but still slow in my opinion.  I found this
10 for specs on a website.
11
12
13 Max. Sustained Transfer Rate OD (MB/s)
14 190MB/s
15
16
17 OK, can I get half that now?  One quarter would be better even.  This is
18 a sample of what I get when using --progress with rsync while copying
19 files from another drive to it, backup thing. 
20
21
22 102,782,342 100%    4.68MB/s    0:00:20 (xfr#122, ir-chk=1135/1995)
23
24 65,330,688 100%    5.34MB/s    0:00:11 (xfr#123, ir-chk=1134/1995)
25
26 59,338,843 100%    2.04MB/s    0:00:27 (xfr#124, ir-chk=1133/1995)
27
28 64,996,691 100%   10.99MB/s    0:00:05 (xfr#125, ir-chk=1132/1995)
29
30 467,837,625 100%    5.42MB/s    0:01:22 (xfr#126, ir-chk=1131/1995)
31
32 39,236,581 100%    5.42MB/s    0:00:06 (xfr#127, ir-chk=1130/1995)
33
34 302,340,815 100%    3.95MB/s    0:01:12 (xfr#128, ir-chk=1129/1995)
35
36
37
38 This is what I get from hdparm:
39
40
41 root@fireball / # hdparm -Tt /dev/sdb
42
43 /dev/sdb:
44  Timing cached reads:   8222 MB in  2.00 seconds = 4114.05 MB/sec
45  Timing buffered disk reads:   2 MB in  3.59 seconds = 570.26 kB/sec
46 root@fireball / #
47
48
49 First one looks reasonable but second one just plain sucks.  Note the KB
50 instead of a MB.  I get this on a much older drive:
51
52
53 root@fireball / # hdparm -Tt /dev/sda
54
55 /dev/sda:
56  Timing cached reads:   8664 MB in  2.00 seconds = 4335.98 MB/sec
57  Timing buffered disk reads: 328 MB in  3.01 seconds = 108.82 MB/sec
58 root@fireball / #
59
60
61 And smartctrl gives me this on the new drive:
62
63
64 SMART Self-test log structure revision number 1
65 Num  Test_Description    Status                              Remaining 
66 LifeTime(hours)  LBA_of_first_error
67 # 1    Extended offline    Self-test routine in progress  90%      
68 544         -
69 # 2    Short offline          Completed without error       00%      
70 543         -
71 # 3    Short offline          Completed without error       00%      
72 528         -
73
74
75 I've ran those tests in the past and it not affect the copy speed. 
76 Still, it shows the drive is OK.  I'm running the long one to be 100%
77 sure.  I was getting the same before I started the selftest tho.  I
78 created one large partition with gfdisk.  It is formatted with ext4 file
79 system.  Most files are videos but some are other file types and
80 smaller.  Thing is, it seems slow no matter what size the file is. 
81 Large files just take longer naturally.  This is what mount shows
82 including options.
83
84
85 /dev/sdb1 on /mnt/tmpdisk type ext4 (rw,relatime)
86
87
88 I have a few other drives on this system.  They work fine and perform
89 fine. Heck, a 6TB drive in a external enclosure connected by USB does
90 better than this.  Can someone explain why this drive is so terribly
91 slow?  Did I do something wrong?  Is there something special about a
92 drive this large that I need to do? 
93
94 Thanks.
95
96 Dale
97
98 :-)  :-) 

Replies

Subject Author
Re: [gentoo-user] Sata hard drive speed question "Taiidan@×××.com" <Taiidan@×××.com>
[gentoo-user] Re: Sata hard drive speed question Nikos Chantziaras <realnc@×××××.com>