Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp823310pxb; Fri, 3 Sep 2021 14:32:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTpilJwC3XDrHujE9Wk8RQB0+Cvyq7thrzeVthWpXsLbOr3DJqHdPxWtzrftZInyJj+jyM X-Received: by 2002:a17:906:1901:: with SMTP id a1mr908288eje.129.1630704745873; Fri, 03 Sep 2021 14:32:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630704745; cv=none; d=google.com; s=arc-20160816; b=h19OMgSSik79NuoO1mLE6TSiLDiRKpB3AAbJ0Hb4DtsdKLQnRU+4jHR9gJy1JgsNBk /b12rlpBxrXgTJcYJfbNSwAFvNOrjq08D6EBd6e/1/HL/OwtQAKuP3tBTP7bJfJF+x91 e9GZR5uMH/UY4VTZRUoO3b9LGtGviXqPSF0wv1oiGPaLKqjQ6hQCHRJw12oij6oRYw6l +RWfQvS3IB65HsChvXyrQ9WmeK/SJvBnBvVZz1pYEMP9CPP6pMuUQojHy2O0n5FP35oo bYYojh8AytRhDZQSqF/B6L1dSCtgUWBFbTAcmETmvyp71WJY6Ckb+rXAAru/kPfL+JVv 7wkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=e7SVEQLpMDJ0EJvaWvRdvepnW290Qo9c3pcB1wGtHoo=; b=hpNGijB578eblrJoO6mSKoh9Z+8JdWKl/WDeBhUpfifz+9Xzrus9teqZ5BzEeTC3m+ 6hcSf7P9w6HgoWoVRcqWgc5bRHRKlepUMCpQIWyTnhPXsy1+2kJRtF8XBh4D6MYCGHKj xQreMsXOc/rms/o+dIRiPgPBqp2x1MROuzx6u0sMGEqiNFiweB/y524xG8U2AEflSsbt CVg0LtQlkICr28FrvGNJphs3nS1PQP0QLph3v7v9ftQGn23+IgjkQyolmwsh6b4mbRqC swqNmjUsZIEwCe7nN7PeDHKF1I5QYJ3RoICZoTL1N1sVi0uug4/gyrzT+8R49VOBNjvn Tj/A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si586008edk.274.2021.09.03.14.31.47; Fri, 03 Sep 2021 14:32:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236640AbhICVTC (ORCPT + 99 others); Fri, 3 Sep 2021 17:19:02 -0400 Received: from mgw-02.mpynet.fi ([82.197.21.91]:35806 "EHLO mgw-02.mpynet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233367AbhICVTB (ORCPT ); Fri, 3 Sep 2021 17:19:01 -0400 Received: from pps.filterd (mgw-02.mpynet.fi [127.0.0.1]) by mgw-02.mpynet.fi (8.16.0.43/8.16.0.43) with SMTP id 183LEpst046545; Sat, 4 Sep 2021 00:17:31 +0300 Received: from ex13.tuxera.com (ex13.tuxera.com [178.16.184.72]) by mgw-02.mpynet.fi with ESMTP id 3au6qc188e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 04 Sep 2021 00:17:31 +0300 Received: from tuxera.com (77.86.224.47) by tuxera-exch.ad.tuxera.com (10.20.48.11) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Sat, 4 Sep 2021 00:17:30 +0300 Date: Sat, 4 Sep 2021 00:17:20 +0300 From: Szabolcs Szakacsits To: Eric Biggers CC: Linus Torvalds , Theodore Ts'o , Matthew Wilcox , "Leonidas P. Papadakos" , Konstantin Komarov , , "Darrick J. Wong" , Greg Kroah-Hartman , Hans de Goede , linux-fsdevel , Linux Kernel Mailing List , Al Viro , Miklos Szeredi Subject: Re: NTFS testing (was: [GIT PULL] vboxsf fixes for 5.14-1 In-Reply-To: Message-ID: References: <4e8c0640-d781-877c-e6c5-ed5cc09443f6@gmail.com> <20210716114635.14797-1-papadakospan@gmail.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: tuxera-exch.ad.tuxera.com (10.20.48.11) To tuxera-exch.ad.tuxera.com (10.20.48.11) X-Proofpoint-ORIG-GUID: -ANQCCE1K-waJxmfax5vo_OjD5LGUqls X-Proofpoint-GUID: -ANQCCE1K-waJxmfax5vo_OjD5LGUqls X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-09-03_07:2021-09-03,2021-09-03 signatures=0 X-Proofpoint-Spam-Details: rule=mpy_notspam policy=mpy score=0 adultscore=0 malwarescore=0 spamscore=0 bulkscore=0 phishscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2108310000 definitions=main-2109030124 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 3 Sep 2021, Eric Biggers wrote: > On Fri, Sep 03, 2021 at 01:09:40AM +0300, Szabolcs Szakacsits wrote: > > User space drivers can have major disadvantages for certain workloads > > however how relevant are those for NTFS users? Most people use NTFS for > > file transfers in which case ntfs-3g read and write speed is about 15-20% > > less compared to ext4. For example in some quick tests ext4 read was > > 3.4 GB/s versus ntfs-3g 2.8 GB/s, and write was 1.3 GB/s versus 1.1 GB/s. > > Your company's own advertising materials promoting your proprietary NTFS driver > (https://www.tuxera.com/products/tuxera-ntfs-embedded) claim that NTFS-3G is > much slower than ext4: Thank you for pointing this out. And please do so whatever else you think is not right. Let's see in detail. > Read: > NTFS-3G: 63.4 MB/s > ext4: 113.8 MB/s > "Microsoft NTFS by Tuxera": 116 MB/s > > Write: > NTFS-3G: 16.3 MB/s > ext4: 92.4 MB/s > "Microsoft NTFS by Tuxera": 113.3 MB/s The page says under the benchmark: "Tested on ARM Cortex-A15 Processor / 512 MB RAM / Samsung SSD 840 PRO 256 GB, USB 3.0 / Windows client and Samba over 1 GbE. Actual performance may vary based on software and hardware used." My quoted benchmark was done on System on Chip: 11th Gen Intel(R) Core(TM) i5-11400 @2.60GHz (12 cores) in ASUSTeK COMPUTER INC. PRIME B560-PLUS motherboard OS: Linux 5.10.0-8-amd64 x86_64 Storage: Samsung SSD 970 PRO 512GB 512GB NVMe NTFS-3G 2017.3.23AR.6 (February 1, 2021) integrated FUSE 28 ext4 Intree (Linux 5.10.0-8-amd64) > I'm not sure why anything you say should have any credibility Please don't believe me and do your own check. Both Ted's logs and the performance results which I have shared. > when it contradicts what your company says elsewhere, The text says "Actual performance may vary based on software and hardware used." I'm afraid my results don't contradict. Hardware is vastly different, software is vastly different: - The PC is much more powerful. Much faster multi-core CPU, RAM, interconnect, and storage compared to an apparently single core Cortex-A15. - The embedded test used user space Samba, the other one didn't. Samba and ntfs-3g competed for one core which made the speed lower than it could have been. ksmbd will help a lot on this, just like ntfs3 for samba. And ntfs-3g could be also improved a lot, as I mentioned earlier. Isn't it great there are so many options? - Today embedded often has multi-core, so the speed difference is (much) less. - Tested embedded ntfs-3g version is unknown but it seems to be a (quite) old one. My test used one of the latest ones. NTFS-3G performance has been improving in time. - I'm sure the embedded test didn't use the big_writes mount option. Otherwise I think the speed could have been around 50 MB/s. Which is still not great but at least 3 times faster. We explained and addressed this in the latest release note: https://lore.kernel.org/linux-fsdevel/d343b1d7-6587-06a5-4b60-e4c59a585498@wanadoo.fr/ Overall, you had a good point. That comparison is not the most up-to-date one. We will work on it or just remove it. > and your company has a vested interest in not having proper NTFS support > upstreamed Please explain what you mean exactly by "proper"? Linus wrote "does indeed work reasonably well" except the horrible performance which was based on misinterpreting test results ntfs-3g being 4 times slower when in fact it was 21% faster. If "proper" means being in the kernel then I explained in my previous email why we chose FUSE. > to compete with their proprietary driver. The proprietary version enables us to pay people working on the open source version. The source code is available, anybody could do it. > (Note that Tuxera doesn't provide much support for NTFS-3G; most of their > efforts are focused on their proprietary driver.) We provide both commercial and free support for NTFS-3G. We had annually at least one stable open source release since 2006, full changelog: https://github.com/tuxera/ntfs-3g/releases And all questions and issues are answered, resolved: https://sourceforge.net/p/ntfs-3g/mailman/ntfs-3g-devel/ Thank you Eric again for the very honest feedback. Best regards, Szaka