Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Very laggy operations on ntfs drive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Tue Aug 07, 2012 7:51 am    Post subject: Very laggy operations on ntfs drive Reply with quote

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
View user's profile Send private message
mbjr
Guru
Guru


Joined: 17 Jan 2004
Posts: 527
Location: Budapest/Hungary

PostPosted: Tue Aug 07, 2012 8:53 am    Post subject: Reply with quote

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,
_________________
MBJr.
buy me a beer
Back to top
View user's profile Send private message
sobhan
n00b
n00b


Joined: 05 Jul 2012
Posts: 17
Location: Tehran,Iran

PostPosted: Tue Aug 07, 2012 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Tue Aug 07, 2012 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
kbzium
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2012
Posts: 146

PostPosted: Thu Sep 13, 2012 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2204
Location: UK

PostPosted: Thu Sep 13, 2012 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4559
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 13, 2012 10:28 pm    Post subject: Reply with quote

If you do not need local Windows to access this volume use any good performing Linux filesystem, Ext4 or XFS, etc. Remote Windows systems can still access it.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum