Project

General

Profile

Bug #2092

terrible performance from PCFS

Added by John Sonnenschein over 8 years ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Category:
-
Start date:
2012-02-08
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

PCFS serializes every operation, synchronously. As a result it's almost certainly the worst performing implementation of PCFS in the industry.

Should be scrapped and replaced with a better implementation ( Apple or BSD's )


Related issues

Has duplicate OpenIndiana Distribution - Bug #12842: pcfs very poor performanceDuplicate

Actions

History

#1

Updated by Milan Jurik over 8 years ago

There are too many design issues with PCFS so new implementation would be great.

#2

Updated by Marcel Telka 5 months ago

  • Related to Bug #12842: pcfs very poor performance added
#3

Updated by giahung 1997tn 5 months ago

Milan Jurik wrote:

There are too many design issues with PCFS so new implementation would be great.

What about just remove it? Do we can't remove it because the EFI partition is FAT32?

For portable file system between OSes, ZFS now is, thanks to OpenZFS.

For portable between OI and Windows, we already have NTFS-3G.

There is no need for a in tree FAT32 driver now. Perhaps people want to have FAT32 working on OI could do that their own with a FUSE FS implementation?

#4

Updated by Marcel Telka 5 months ago

  • Has duplicate Bug #12842: pcfs very poor performance added
#5

Updated by Marcel Telka 5 months ago

  • Related to deleted (Bug #12842: pcfs very poor performance)
#6

Updated by Stephan Althaus 4 months ago

After a net search I found this exFAT project:
https://github.com/relan/exfat

With this i get ~40MB/sec for my use case,
that has been ~5MB/sec with PCfFS

If someone wants to try it here's a tiny "cookbook":

$git clone https://github.com/relan/exfat.git
$cd exfat
$autoreconf --install
$./configure
$make
$sudo make install
.. installs to /usr/local

Create filesystem
$sudo /usr/local/sbin/mkfs.exfat -i SDCARD64 -n SDCARD64 /dev/dsk/c33t0d0p1
and mount
$sudo /usr/local/sbin/mount.exfat /dev/dsk/c33t0d0p1 /media/sdcard/

I am using it since April and had no issues for my very simple use case (copy and delete files from camera SDCard)

#7

Updated by Joshua M. Clulow 4 months ago

giahung 1997tn wrote:

What about just remove it? Do we can't remove it because the EFI partition is FAT32?

While the performance is not great, it does work. There's no reason to remove it until something better comes along -- whether it's incremental fixes to pcfs itself, or a totally new module.

Note that although some distributions ship a version of FUSE, we don't have FUSE in the base operating system. As such, a FUSE-based implementation is not really a direct substitute for pcfs.

#8

Updated by Stephan Althaus 4 months ago

Ah yes sorry i forgot to mention that i use OpenIndiana and the implementation i pointed to is FUSE-based.

Also available in: Atom PDF