 |
|
Page 1 of 1
|
[ 8 posts ] |
|
Poor write performance on MacOS X 10.4.8 Intel
| Author |
Message |
|
Atmosfear
Joined: Mon Jan 29, 2007 18:02 Posts: 3
|
 Poor write performance on MacOS X 10.4.8 Intel
Hi,
I'm trying out NTFS-3g-BETA 20070118 with MacFUSE-Core 0.19 on an Intel Mac and am seeing very poor write performance:
Copying 32GB of HD-Video-Material from an 200GB eSATA-Drive to an internal 1TB logical Hardware RAID5 volume takes over 10 hours, which estimates to about 2,3MByte/s. Copying to a 400GB HFS+ logical volume on the same physical RAID5 yields about 34 MByte/s or 18 mins, which is adequate for the speed of the external SATA HD.
The cpu load while copying to ntfs-3g volume is about 12%, the volume uses 4KB clusters (converted from 64kb initially).
I can provide a kernerl trace log during copy, if required.
System Specs:
Core 2 Duo E6400
4GB DDR2-RAM
MacOS X86 10.4.8 on 200GB onBoard Intel PATA HFS+
Areca ARC-1220 PCIeX8 8-Channel-SATAII-RAID-Controller
- 4x500GB RAID5
- 2x300GB RAID0
i975X Board w/SiliconImage PCIeX1 eSATA connector
- external 200GB eSATA HDD HFS+
I'll provide more info, as needed. NTFS-3g was compiled by me, with few compatibility fixes (getresuid wrapper).
Best Regards,
Atmos
|
| Mon Jan 29, 2007 18:38 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Poor write performance on MacOS X 10.4.8 Intel
Hi. It sounds like a MacFUSE problem for instance because of doing
synchronous writes. If the bad performance were due to ntfs-3g then
the ntfs-3g CPU usage would be around 100%.
Regards, Szaka
|
| Mon Jan 29, 2007 18:45 |
|
 |
|
Atmosfear
Joined: Mon Jan 29, 2007 18:02 Posts: 3
|
Thanks, I'll report to MacFUSE then.
|
| Mon Jan 29, 2007 18:58 |
|
 |
|
sat
Joined: Tue Jan 30, 2007 20:49 Posts: 1
|
 Re: Poor write performance on MacOS X 10.4.8 Intel
Atmosfear wrote: Hi,
I'll provide more info, as needed. NTFS-3g was compiled by me, with few compatibility fixes (getresuid wrapper).
Any chance you could post the getresuid wrapper?
|
| Tue Jan 30, 2007 20:51 |
|
 |
|
Atmosfear
Joined: Mon Jan 29, 2007 18:02 Posts: 3
|
here you go. got it from xrootd sources:
Code: #if 1 /* linux compatibility hacks ::fbu */ #include <sys/types.h> #include <unistd.h>
#define XSPERR(x) ((x == 0) ? -1 : -x)
static int setresgid(gid_t r, gid_t e, gid_t x) { if (setgid(r) == -1) return XSPERR(errno); return setegid(e); }
static int setresuid(uid_t r, uid_t e, uid_t x) { if (setuid(r) == -1) return XSPERR(errno); return seteuid(e); }
static int getresgid(gid_t *r, gid_t *e, gid_t *x) { *r = getgid(); *e = getegid(); return 0; }
static int getresuid(uid_t *r, uid_t *e, uid_t *x) { *r = getuid(); *e = geteuid(); return 0; }
#endif /* linux compatibility hacks */
|
| Fri Feb 02, 2007 20:01 |
|
 |
|
vertigo
Joined: Sun Feb 04, 2007 12:39 Posts: 2
|
 I'm a moron?
I usually don't do this "configure and make and then sudo make install" stuff. I just think people should release binaries because so often stuff goes wrong in this department. But as a mac guy trying to use ntfs, then I am hitting this dead end:
/usr/bin/ld: Undefined symbols:
_getresuid
after installing pkg-config (after the configure,make,sudomakeinstallyada), I have hit this wall and I don't know where to put this wrapper code.
Just a little bit more and then I'm there, please help?
|
| Sun Feb 04, 2007 12:43 |
|
 |
|
vertigo
Joined: Sun Feb 04, 2007 12:39 Posts: 2
|
 wow bad performance
So I figured it out (I actually guessed correctly the first time I tried it, but accidentally copied and pasted the word "code:" above the actual code, causing a compile error).
I too am getting horrible performance (connecting to an usb drive with both an HFS+ and an NTFS partition). The NTFS partition takes about 5 minutes to copy 90 megs while it's about 5 seconds to the HFS+.
Thanks for the help with the wrapper code though.
|
| Sun Feb 04, 2007 13:30 |
|
 |
|
szaka
Tuxera CTO
Joined: Tue Nov 21, 2006 23:15 Posts: 1645
|
 Poor write performance on MacOS X 10.4.8 Intel
There are often new binaries releases on this forum:
http://forums.applenova.com/showthread. ... 842&page=7
The next ntfs-3g release will have better Mac OS X compatibility (getresuid
won't be used).
The MacFUSE team is working on the speed improvements.
|
| Sun Feb 04, 2007 16:29 |
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 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
|
|
 |