Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by vbitz on Tuesday December 26, 2023 @06:13PM
(#38777107)
9p involves a lot of round trips to create/write files.
I benchmarked sshfs using fuse vs. 9p in the kernel and sshfs was significantly faster.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by donatj on Tuesday December 26, 2023 @08:57PM
(#38778241)
Perfect is the enemy of good, and 9p is great.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by speed_spread on Tuesday December 26, 2023 @11:41PM
(#38779145)
That's not an argument here. If starting from scratch, might as well go with the thing that works best. Ssh is not an obscure protocol. If it's faster than 9p, that's what I'll use.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by coldtea on Wednesday December 27, 2023 @03:58AM
(#38780268)
Any rational reason you like it?
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by dmw_ng on Wednesday December 27, 2023 @04:24AM
(#38780404)
That sound you hear is the hellish screeching of a million git status monorepo users waiting for their shell prompt to reappear
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by the8472 on Tuesday December 26, 2023 @09:52PM
(#38778568)
9p is a network protocol. For machine local filesystems one can do better by making use of shared memory which fuse and virtio-fs do.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by donatj on Tuesday December 26, 2023 @10:05PM
(#38778650)
It's a network protocol as far as everything from Plan9 was designed to be able to operate over the network in the late 90s sense of " the network is the computer". The local file system of Plan 9 though is exposed locally through 9p
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by murderfs on Tuesday December 26, 2023 @10:13PM
(#38778702)
Yeah, and that's one of the reasons plan9 was dogshit and never amounted to anything. "Everything is a file" is bad enough, "Everything is a file which might be 'transparently' across a network" is insane.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by tadfisher on Wednesday December 27, 2023 @01:13AM
(#38779543)
Classic blocking I/O is the problem, not network transparency. If you don't want files to be transparent through latency/throughput boundaries, then you should also disable the VFS cache.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by pzmarzly on Wednesday December 27, 2023 @02:11AM
(#38779790)
Filesystem cache may make latency unpredictable, but it won't make open() unexpectedly fail with ECONNREFUSED. Most programs barely handle ENOENT, let alone EINTR.
Also, how do you do async fstat and mkdir in Linux? I don't see it in manpages.
AFAIK Plan9 answers to that was to not implement POSIX interfaces, and instead all I/O looked like RPC calls. This is generally a good design idea, but it's hard to sell an OS where all existing software will have to be rewritten for.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by GoblinSlayer on Wednesday December 27, 2023 @04:07AM
(#38780310)
Conceptually it's possible: async fstat sets pending read, then epoll could return read flag when it completes, after that fstat completes without delay.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by the8472 on Wednesday December 27, 2023 @04:16PM
(#38786838)
> Also, how do you do async fstat and mkdir in Linux? I don't see it in manpages.
io_uring. and a virtual filesystem may have to serve multiple concurrent requests from several threads. so even if individual IO calls are blocking in the aggregate they still have to be interleaved.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th...
by butterisgood on Wednesday December 27, 2023 @08:19AM
(#38781632)
Don't talk about yourself in such ways. I'm sure you had something to contribute to the world before you made this comment.
Microsoft actually uses it for WSL, but afaik does provide the ability to access other 9p servers.