Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-23-2010, 01:18 PM
|
#1
|
LQ Newbie
Registered: Sep 2010
Distribution: Ubuntu & CentOS
Posts: 15
Rep:
|
Disk performance issues.
Hello,
I've set up a system which will be used for a file server/workstation.
It consist of a core2duo 6600 on a nvidia 680sli mainboard.
It has 4gb of ram, and ubuntu64.
I have my primary drive, a new 10krpm 300gb wd disk (don't remember it's part number, I'm sure you know which drive I mean. Besides, I'm to lazy to find out).
This has a performance of something like this:
martinn@workstation:~$ sudo hdparm -t /dev/sda
/dev/sda:
Timing buffered disk reads: 364 MB in 3.01 seconds = 121.01 MB/sec
My storage drives consist of an LVM with two drives; a Green Caviar 2tb ( WDC WD20EARS-00S ) and a Hitachi 2tb ( HDS72202 ).
Now the speed here differs _sligthly_
martinn@workstation:~$ sudo hdparm -t /dev/sdb (WD)
/dev/sdb:
Timing buffered disk reads: 68 MB in 3.01 seconds = 22.62 MB/sec
martinn@workstation:~$ sudo hdparm -t /dev/sdc
/dev/sdc: (Hitachi)
Timing buffered disk reads: 326 MB in 3.03 seconds = 107.42 MB/sec
^[[Amartinn@workstation:~$ sudo hdparm -t /dev/sdb
And of the volume group:
martinn@workstation:~$ sudo hdparm -t /dev/vg0/Data
/dev/vg0/Data:
Timing buffered disk reads: 268 MB in 3.01 seconds = 89.00 MB/sec
Both 2TB drives are on the same physical storage controller.
I see no reason why they should differ so very much?
No torrents/cron jobs is running btw.
Any and all help would be greatly appreciated;=)
PS - Of course - eager as I am, the volume is already full, and it would be painstakingly difficult to move 3,4TB of data just to test something. Move data to fix the problem - that's entirely another matter;=)
\\mK
|
|
|
Click here to see the post LQ members have rated as the most helpful post in this thread.
|
09-23-2010, 03:26 PM
|
#2
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
The problem is your WD 'EARS' Green hard disk. This device causes problems (performance, throughput, even noise and head loading counts) frequently. I've looked at many threads concerning this drive and people seem to get mixed results fixing the problem.
This is odd; the problem is associated with 4k sectors, and there are people who claim that the fix is reasonably well defined, but not everyone seems to have success, or maybe only have success after terying and failing several times. For this, I cannot offer an explanation (and I don't have one of these drives, but I've been considering it out of a misplaced, ornery, 'course its easier than that' stupid sense of irritation).
http://www.linuxconfig.org/linux-wd-...dvanced-format
http://thunk.org/tytso/blog/2009/02/...se-block-size/
http://community.wdc.com/t5/Desktop/...EARS/m-p/10920
(I'd thought that there was also a Ted T'so article on 4k sectors directly, but neither I nor Google can spot it at the moment!)
|
|
2 members found this post helpful.
|
09-24-2010, 03:05 AM
|
#3
|
LQ Newbie
Registered: Sep 2010
Distribution: Ubuntu & CentOS
Posts: 15
Original Poster
Rep:
|
Aha,
Thanks a lot for intuitive information;=)
This was certainly enlightening! *phew. This means I have to move all my data again.
At my current connection speed, It'll take me 104 days at optimum performance. And my storage/backup server is 15mins away by foot. I can easily outwalk my internet line when it comes to moving data... Even if I use dvd roms to carry data.
Thanks a lot!
|
|
|
09-24-2010, 06:16 AM
|
#4
|
Senior Member
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386
Rep: 
|
Quote:
Originally Posted by salasi
The problem is your WD 'EARS' Green hard disk. This device causes problems (performance, throughput, even noise and head loading counts) frequently. I've looked at many threads concerning this drive and people seem to get mixed results fixing the problem.
This is odd; the problem is associated with 4k sectors, and there are people who claim that the fix is reasonably well defined, but not everyone seems to have success, or maybe only have success after terying and failing several times. For this, I cannot offer an explanation (and I don't have one of these drives, but I've been considering it out of a misplaced, ornery, 'course its easier than that' stupid sense of irritation).
http://www.linuxconfig.org/linux-wd-...dvanced-format
http://thunk.org/tytso/blog/2009/02/...se-block-size/
http://community.wdc.com/t5/Desktop/...EARS/m-p/10920
(I'd thought that there was also a Ted T'so article on 4k sectors directly, but neither I nor Google can spot it at the moment!)
|
Useful articles
|
|
|
All times are GMT -5. The time now is 09:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|