You are not logged in.
I have a separate partition for data which is set to automount on boot in fstab(I haven't gotten it to work any other way yet. Could be related?) and writing files from a download in Deluge to it was incredibly slow and affected the download speed grossly. I tested it by using the same download but selecting my local desktop as a save location. The download speed was at ~50KB/s using the data partition and 2MB/s using local desktop folder. Further, transfer speeds while trying to move the file to the partition after it was downloaded, resulting in a measily 70KB/s.
Is there something I'm missing, like some sort of buffer/write speed limit on the partition?
Here is how I have my fstab configured:
#
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda6
UUID=bf68160f-aeb3-487c-9382-974fd5de5214 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda7
UUID=f0007457-bd8b-4e73-b794-e2474140af67 /home ext4 rw,relatime,data=ordered 0 2
# /dev/sda8 LABEL=Swap
UUID=4291c0ff-5bcb-48c5-b0cd-ecf08b428b2f none swap defaults 0 0
# /dev/sda5 LABLE=New Volume
UUID=48BEDF3ABEDF1F6E /media/Data ntfs rw,auto,user,sync 0 0
# /dev/sda2 LABLE=Windows Seven
UUID=01CD79C6BF162F00 /media/Windows ntfs rw,noauto,user,sync 0 0Any clues? Thanks
Last edited by Kirito (2013-05-17 04:34:32)
Offline
Can you try to mount the /media/Data without the "sync" option?
Offline
The slow speeds are simply due to your HDD's read and write capabilities which isn't an SSD. Since you are making do multiple reads and writes simultaneously, it'll definitely slow depending on the files sizes. Even my 10K RPM VelociRaptor gets slower if given such tasks. I suggest you invest in an HDD with higher capacity and speed, they are pretty cheap too.
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." --Dennis Ritchie-- RIP
Offline
I doubt that it is just the hard drive that is slowing things down, since all the partitions are on the same drive. 50K/s is more like the transfer speed of floppies from days of yore.
Do dmesg or journalctl show any error messages about this hard drive?
Last edited by ackalker (2013-05-16 16:37:48)
Offline
async instead of sync should do it. But removing sync is just as fine since async is the default on, just like Enneric said.
But beware, async has the flaw that a force-removed partition could cause data-damage.
Details here, you REALLY should read this when going async: (just scroll down a bit
)
Offline
Can you try to mount the /media/Data without the "sync" option?
async instead of sync should do it. But removing sync is just as fine since async is the default on, just like Enneric said.
But beware, async has the flaw that a force-removed partition could cause data-damage.Details here, you REALLY should read this when going async: (just scroll down a bit
)
At work right now, but I'll test this out once I get home and report back. Thanks for the help so far ![]()
Offline
Yes, as it is an internal partition, and therefore forced removal is really not an issue, I am not sure why you are using sync in the first place. The way I understand it, the sync option is really to be used when you have some kind of removable drive. That way, when you copy things to it there isn't the usualy buffering, resulting in the process reporting completion instantly, when really there might be hundreds of megabytes waiting to be written.
Offline
Yes, as it is an internal partition, and therefore forced removal is really not an issue, I am not sure why you are using sync in the first place. The way I understand it, the sync option is really to be used when you have some kind of removable drive. That way, when you copy things to it there isn't the usualy buffering, resulting in the process reporting completion instantly, when really there might be hundreds of megabytes waiting to be written.
Yeah, after reading up on it a bit more thats exactly it. I wasn't exactly sure how it was handled/where it cached or stored the file temporarily before writing to the disk and being on a relatively small partition space is of concern. Although looking back it was silly because it's not like I'll be transferring anything that large anytime soon
Anyway, this fixed it. You guys rock ![]()
Offline