On Viernes, 29 de junio de 2012 16:23:22 Jean-Pierre André escribió: > Hi, > > Jose Alberto Reguero wrote: > > On Miércoles, 27 de junio de 2012 16:10:50 JD escribió: > >> On 06/27/2012 04:01 PM, Jose Alberto Reguero wrote: > >>> I have a usb3.0 disk. With ntfscp I reach very high write rates, but > >>> with > >>> ntfs-3g mount I have write rates like with usb 2.0. > >>> > >>> Any ideas why the difference? > > The main difference is that ntfscp writes data directly > to the device through libntfs-3g. You cannot read at > the same time, and the writes need not be synchronized > with possible reads and cached data. > > When writing to a mounted device, using ntfs-3g, data > has to go through the generic file system driver (vfs) > and fuse. They synchronize data and metadata > (timestamp, permissions, etc.) with intertwined reads. > > >> So, when you are using ntfscp, is your usb3 disk mounted or not? > >> If mounted, show output of the command mount and only copy and > >> paste what it reports about your disk. > > > > ntfscp need that the driver was not mounted. > > True. However the check is apparently missing. > Also if you have two ntfscp processes at the same > time, you are heading for trouble. > > >> When you say you use ntfs-3g mount, and then you copy, correct? > >> What command or method do you use to copy? > > > > Whith ntfs-3g mount I use cp. > > The size of the write buffer may also matter. cp can > apparently use a 64K write buffer. To enable big > write buffers, mount with option "big_writes". > > Regards > > Jean-Pierre
Thanks for the info. With the option big_writes, write rates are very similar. Jose Alberto ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ ntfs-3g-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ntfs-3g-devel
