3 Jul 2025 |
K900 | If you have that | 10:34:38 |
Emma [it/its] | oh it needs a reboot... lol | 10:34:50 |
Emma [it/its] | ... assuming i didnt brick the system, at least | 10:35:44 |
Emma [it/its] | cool, it lives, except the database | 10:37:04 |
Emma [it/its] | okay, unless i did something wrong, nfs4 seems to end up slower than sshfs? | 10:44:51 |
Katalin ⚧︎ | afaik that is to be expected, it does a lot more stuff like locking and whatnot | 10:47:02 |
Katalin ⚧︎ | every serious network file system that tries to avoid file corruption is going to be slower than sshfs | 10:47:27 |
Katalin ⚧︎ | if you’re getting abysmal performance though, make sure it’s not mounted with the sync option though | 10:48:50 |
Katalin ⚧︎ | * if you’re getting abysmal performance though, make sure it’s not mounted with the sync option | 10:48:55 |
K900 | You might also need to enable nfs4.2? | 10:49:27 |
Katalin ⚧︎ | I think that should be default? | 10:50:37 |
Katalin ⚧︎ | my exports just has /Volumes/storage -rw,sync,no_subtree_check,sec=krb5:krb5i:krb5p,insecure * | 10:50:50 |
Katalin ⚧︎ | and the client uses whatever the best is | 10:51:23 |
Emma [it/its] | 4.2 feels the same | 10:51:59 |
Katalin ⚧︎ | I think it shows the version in the mount command output | 10:52:22 |
Emma [it/its] | its not sync, though im trying to avoid extra lookups given that, well... >100ms latency between client and version | 10:52:31 |
Emma [it/its] | * its not sync, though im trying to avoid extra lookups given that, well... >100ms latency between client and serve | 10:52:34 |
Emma [it/its] | * its not sync, though im trying to avoid extra lookups given that, well... >100ms latency between client and server | 10:52:35 |
Katalin ⚧︎ | ah, are you mounting it over the internet? | 10:53:59 |
Emma [it/its] | yes, across continents no less | 10:55:22 |
Emma [it/its] | (not security sensitive, so lack of encryption is fine) | 10:55:56 |
Emma [it/its] | though here's one thing NFS does appear to be far better at: parallel lookups | 10:56:30 |
Emma [it/its] | it doesnt do the entire speeding up/hanging/slowing down thing sshfs does | 10:56:44 |
Katalin ⚧︎ | okay, no idea about that, I’ve only done NFS across short distances where the latency was somewhat okay, and there it was alright if you were patient | 10:58:23 |
Katalin ⚧︎ | maybe a distributed filesystem would be better here if you want this to be fast, though that’s also something I’ve never used (but want to) | 10:59:36 |
Emma [it/its] | okay, maybe i should explain what im trying to accomplish in the first place:
im trying to debug and fix some code (nodejs) in production, as it cant really be tested (its not nixos, the src/dist dirs are read/write...)
my IDE really hates remote filesystems, so im trying to make it as smooth as possible (thanks jetbrains)
before even trying to do it this way i was making a git commit, pushing to github and pulling constantly, slowing down any attempt to debug things a lot | 11:02:01 |
K900 | Jetbrains stuff has proper remoting now no? | 11:02:20 |
Emma [it/its] | doesnt that have the entire "oh but my binaries!" problem? | 11:03:27 |
Katalin ⚧︎ | can you run it locally and have it access the remote database (especially while the remote is running)? | 11:03:29 |
Emma [it/its] | no because the code im debugging has to do with incomming http requests rather than the db/data side of stuff | 11:03:57 |