HDD Speeds in Ubuntu on HP N40L

Soldato
Joined
21 Oct 2002
Posts
4,678
Location
Oxford
Please help!

I have been setting up an Ubuntu Desktop 12.04 LTS install on an HP N40L microserver. I have been rather underwhelmed with the transfer speeds of files, most notably, from one HDD to another. I seem to get around 12MB/s tops. This is with a mixture of drives, all internal with write caching on.

I tried a live version of 12.04 and 12.10 as well, and that was the same. Ideas? What can I try?

CD
 
This is the odd part. I noticed because my network transfer speeds were poor. Then I noticed that it seemed to be the HDD speed that was limiting it!

What version of Ubuntu server are you running? I have been trying quite a few but alas I am not a linux guru.
 
No RAID, just a collection of random drives. Mainly a 1TB and a 512GB. I doubt any are fast but still. I am copying a few large files at once, 4 files, each well over a gigabyte each.

However, I think I have solved it. Stupid me! They are NTFS. It seems to be only writing, but is there anything I can do? I know it is going to use more CPU time but I'm not worried about that.
 
Ah, typo, I meant 500GB. I have been reading up on ntfs-3g. I did read about a few params that can be useful when mounting, but I'll have to do some more research.

I formatted one to ext4 and got 80MB/s. Now the question is, what can I do to get more speed from NTFS? After all, most people use NTFS formatted USB drives and mem sticks.

Any one got some clever ideas?

CD
 
None are new enough to require 4k blocks.

As I said, "most people use NTFS formatted USB drives and mem sticks". I'll use ext4 for the internal ones, but if I have to copy to a device at 10MBs all because I am using Linux, it just seems a shame. I did find that if I copy three files at the same time to an NTFS formatted HDD, each one gets 10MB/s! That means I am not CPU limited then!?!

I guess the server was cheap and the OS free so I can't complain too much.

CD
 
I'm probably missing the point, but why wouldn't you just plug your portable devices into your Windows client PC and copy the files straight to/from a Samba share or whatever?

It seems a bit of an odd complaint to me, particularly given that NTFS is a proprietary filesystem which isn't supported natively by Linux (try using Windows to copy between ext4-formatted volumes).

Because my windows machine is a connected to the rest of my network via a slow homeplug. It is also not left on, in the bedroom, a power hungry gaming system etc.

I get that NTFS is proprietory. Accessing EXT4 on windows requires extra software that is probably even slower. But still, that doesn't change the fact that NTFS is very common and slow on Linux. And there doesn't seem to be much I can do about it.

CD
 
Back
Top Bottom