On Fri, 18 Apr 2008, Bob Copeland wrote:I also don't advocate any solution, only interested in the FUSE myth busting and making it easier to use and develop for, i.e. having the best possible performance with zero effort. I checked both solutions quickly, I think they are nicely written. The kernel driver had 30 MB/s with 10% CPU usage, the FUSE version had 6 MB/s with high I/O waiting. The major reason seems to be that the FUSE version reads heavily from the block device during pure write operations, while the kernel driver never. There can be several non-exclusive explanations. One of them, as you wrote, the functionality is not exactly the same, the FUSE one does more. If it's relevant or not, you should know. If anything is involved with reading from multiply places regularly then it's relevant. Moreover when you're writing to a block device from user space then the size and position of the block should be page aligned, otherwise you end up doing unwanted synchronous reads instead of the believed asynchronous writes. Solving this issue for the most common cases resulted a sometimes over 10 fold write speedup in ntfs-3g. But of course it would be nice if the kernel just provided this for everybody. Btw, mkomfs.c is missing a '#define _FILE_OFFSET_BITS 64' which is needed to open LFS files. Szaka -- NTFS-3G: http://ntfs-3g.org -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Mike Galbraith | Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2 |
| Greg Kroah-Hartman | [PATCH 011/196] sysfs: Fix a copy-n-paste typo in comment |
| Artem Bityutskiy | [PATCH 04/44 take 2] [UBI] kernel-spce API header |
| Huang, Ying | Re: [RFC][PATCH 1/2 -mm] kexec based hibernation -v3: kexec jump |
git: | |
| Linus Torvalds | irc usage.. |
| Nicolas Pitre | Re: Figured out how to get Mozilla into git |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Mike | Re: I don't want the .git directory next to my code. |
| Theodore Ts'o | Re: Splitting comp.os.linux |
| Theodore Ts'o | Re: demand paging: proposal |
| Framstag | ftp-error: bind: Address already in use? |
| Ian Kluft | RESULT: comp.os.linux reorganization, all groups pass (part 1/3) |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Todd Pytel | IDE or SCSI virtual disks for VMWare image? |
| Chris Tankersley | Dell PERC 3/Di - No Disks Found |
| Wijnand Wiersma | Almost success: OpenBSD on Xen |
| magical mounts | 10 hours ago | Linux kernel |
| Problem in scim in Fedora 9 | 11 hours ago | Linux general |
| The new Western Digital power saving drives | 11 hours ago | Hardware |
| Battery Maximizer Software | 1 day ago | Linux kernel |
| windows folder creation surprise | 1 day ago | Windows |
| Firewall | 2 days ago | OpenBSD |
| IP layer send packet | 2 days ago | Linux kernel |
| dtrace for linux available | 3 days ago | Linux kernel |
| Unable to mount ramdisk image using UBoot while upgrading to 2.6.15 kernel for a MPC8540 based target | 3 days ago | Linux kernel |
| RealTek RTL8169 - can't connect | 3 days ago | NetBSD |
