Project

General

Profile

Actions

Bug #2092

open

terrible performance from PCFS

Added by John Sonnenschein over 10 years ago. Updated almost 2 years 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
Actions #1

Updated by Milan Jurik over 10 years ago

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

Actions #2

Updated by Marcel Telka almost 2 years ago

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

Updated by giahung 1997tn almost 2 years 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?

Actions #4

Updated by Marcel Telka almost 2 years ago

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

Updated by Marcel Telka almost 2 years ago

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

Updated by Stephan Althaus almost 2 years 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)

Actions #7

Updated by Joshua M. Clulow almost 2 years 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.

Actions #8

Updated by Stephan Althaus almost 2 years ago

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

Actions #9

Updated by Toomas Soome about 2 months ago

  • Related to Bug #14609: loader: os console in options menu should use first name from list added
Actions #10

Updated by Toomas Soome about 2 months ago

  • Related to deleted (Bug #14609: loader: os console in options menu should use first name from list)
Actions

Also available in: Atom PDF