View previous topic :: View next topic |
Author |
Message |
kbzium Tux's lil' helper
Joined: 31 Jul 2012 Posts: 146
|
Posted: Tue Aug 07, 2012 7:51 am Post subject: Very laggy operations on ntfs drive |
|
|
Hello,
I have such a problem:
I've moved to gentoo from windows (that is I have dual boot now, but I'd rather use gentoo when I'm not playing anything). The problem is that all my data is on 2x1TB HDD drive formated with NTFS. I'm using ntfs-3g on gentoo and it works, but terribly laggy! It consumes nearly 20% of cpu power all the time. Amarok is so laggy that i can't really use it because of that.
And here's the question:
is there any way to use ntfs smoothly or, if there isn't, what file system should i format my drive with? Guess it will become uncaccessible for guys with windows, my tv and so on, right...?
Thanks! |
|
Back to top |
|
|
mbjr Guru
Joined: 17 Jan 2004 Posts: 531 Location: Budapest/Hungary
|
Posted: Tue Aug 07, 2012 8:53 am Post subject: |
|
|
Hi there,
Brave switch from Windows to Gentoo, respect!
The ntfs-3g works fine for me, but there is also a kernel module that may allow you to get better performance.
Check if you have it enabled:
Code: | $ zcat /proc/config.gz |grep -i ntfs
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
CONFIG_NTFS_RW=y
|
If so, modrobe ntfs, mount your drive with mount -t ntfs -o ro /dev/mydrive /mnt/myntfsvolume
Note that depending on your kernel version there may be limitations of this module - i.e. I remember back in the 2.6.x days writing to NTFS partitions was kinda tricky. In the 3.x kenels there's a complete rewrite of this ntfs module that's known to be working fine.
The 2x1TB HDD makes me think if these drives are in a raid array of any kind or not. If so, please give a read to this one here: http://www.mjmwired.net/kernel/Documentation/filesystems/ntfs.txt
Linux supports a series of filesystems, on my system I have full support for btrfs, cramfs, ext2, ext3, ext4, ext4dev, jfs, minix, reiserfs and xfs. Traditionally linux works best with the ext filesystems, i.e. ext 2/3/4. These days ext4 is tend to be the most popular.
There are solutions for mounting ext partitions in Windows, Ext2FSd for example (http://www.ext2fsd.com). You may however simply share your drive on the network using Samba (cifs) so people around you may access it with no issue from their Windows machine.
Cheers, _________________ mb |
|
Back to top |
|
|
sobhan n00b
Joined: 05 Jul 2012 Posts: 17 Location: Tehran,Iran
|
Posted: Tue Aug 07, 2012 12:13 pm Post subject: |
|
|
Quote: | I've moved to gentoo from windows | wow i moved to gentoo after using arch i propose you using arch a few week befor switching to gentoo .idont now how you do that lol. |
|
Back to top |
|
|
kbzium Tux's lil' helper
Joined: 31 Jul 2012 Posts: 146
|
Posted: Tue Aug 07, 2012 6:09 pm Post subject: |
|
|
Actually some things are much simpler than in Windows . The only big problem with Gentoo is its installation . I was trying to for about 4 days. Now its working just fine, and the more i use it the more i like lit
As for file system:
maybe it is Amarok that is laggy, not the file system? |
|
Back to top |
|
|
kbzium Tux's lil' helper
Joined: 31 Jul 2012 Posts: 146
|
Posted: Thu Sep 13, 2012 12:24 pm Post subject: |
|
|
Okay it seems that everything's laggy! 75% CPU use!!
That is mount.ntfs eats so much resources when i listen to music from that drive... what's wrong? |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Thu Sep 13, 2012 10:12 pm Post subject: |
|
|
ntfs-3g is slow because it's a FUSE filesystem. Not much can be done about that.
Use UDF if you can, or FAT32 if you can't. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|