FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sat Jan 16, 2021 04:53



Post new topic Reply to topic  [ 4 posts ] 
Howto set NTFS-3G to use both CPU cores? 
Author Message

Joined: Sat Mar 14, 2009 14:50
Posts: 2
Post Howto set NTFS-3G to use both CPU cores?
Hi there!

I'm using the latest (2009.2.1) version of NTFS-3G under Ubuntu 8.04.
When I'm writing to my NTFS partition I can only reach 10MB/s and my CPU is on 50%.
I can see clearly that the mount.ntfs-3g process is using 100% of the CPU but only one core!

How can I set to use both cores? Is there any option when I ./configure NTFS-3g?

thanks in advance


Sat Mar 14, 2009 14:55
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: Howto set NTFS-3G to use both CPU cores?
Hi,

Quote:
How can I set to use both cores?

Currently you cannot. ntfs-3g serializes the requests, and redesigning the code to make it multithreaded with proper synchronization is not on the agenda (at least not on my own !).

Quote:
When I'm writing to my NTFS partition I can only reach 10MB/s and my CPU is on 50%.

This is an unusual CPU to throughput ratio. Are you doing something special (big sparse files ?)

Regards

Jean-Pierre


Sat Mar 14, 2009 17:34
Profile

Joined: Sat Mar 14, 2009 14:50
Posts: 2
Post Re: Howto set NTFS-3G to use both CPU cores?
Thanks for the reply. I was afraid of that NTFS-3G is not supporting more than one threads, at least now I know it :)

I'm not doing anything special, just copying single files (around 10GB each) to my WD10EACS (1TB) drive. The read performance is much better, 30-40MB/s.

The drive is not fragmented.

I've underclocked my CPU (because I wanted to use passive cooling).
AMD 5050e CPU which should go at 2.6GHz (45W TDP), is now at 1.4GHz so that can be the reason why It's this slow. :)


Sun Mar 15, 2009 15:30
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: Howto set NTFS-3G to use both CPU cores?
> Thanks for the reply. I was afraid of that NTFS-3G is not supporting
> more than one threads, at least now I know it :)

It wouldn't help because the relevant code (like most others) is not
parallelizable.

> I'm not doing anything special, just copying single files (around 10GB
> each) to my WD10EACS (1TB) drive. The read performance is much better,
> 30-40MB/s.

Large block size support will significantly improve your case and better
fragmented file support too. The Advanced NTFS-3G already has the later.

> I've underclocked my CPU (because I wanted to use passive cooling).
> AMD 5050e CPU which should go at 2.6GHz (45W TDP), is now at 1.4GHz so
> that can be the reason why It's this slow. :)

That's definitely a reason.


Tue Mar 17, 2009 03:33
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 4 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.