https://bugs.kde.org/show_bug.cgi?id=178678
--- Comment #108 from Germano Massullo <[email protected]> --- Created attachment 182503 --> https://bugs.kde.org/attachment.cgi?id=182503&action=edit script for collecting zfs iostat metrics The situation did not improve with Plasma 6.4.0 With the help of ZFS tools I have run four simple experiments: counting on server side the I/O (sampled every 0.01s) I get when opening on the client the SSHFS mounted path /home/user/server/photos with 1) Dolphin via sshfs. Details view, folder size: show numbers of elements; 2) Dolphin via sshfs. Details view, folder size: show content size up to 1 level of depth; 3) Dolphin via sftp. Folders view; 4) Krusader via sshfs; 5) ls via sshfs. I took care of ensuring identical starting conditions for all the experiments. ############################################################# # DOLPHIN EXPERIMENT (sshfs, details view, # # folder size: show numbers of elements, previews disabled) # ############################################################# == STEP 0, CLIENT SIDE == (make sure the remote storage is not mounted) fusermount -u /home/user/server == STEP 1, SERVER SIDE == (clear the ZFS RAM cache) # zpool export zpool_1 (reload the ZFS pool) # zpool import zpool_1 (mount the encrypted dataset) # zfs mount -l zpool_1/dataset == STEP 2, CLIENT SIDE == (mount the remote storage) sshfs -o cache=yes -o kernel_cache -o compression=no [email protected]:/zpool_1/dataset /home/user/server == STEP 3, SERVER SIDE == start the I/O metrics collection script (see attachment) == STEP 4, CLIENT SIDE == open Dolphin in Dolphin addressbar, paste /home/user/server/photos and press enter wait until Dolphin size column gets populated for all entries == STEP 5, SERVER SIDE == press CTRL+C and see script output === SUMMARY === Total read operations: 3081637 Total write operations: 0 Total bytes read: 15850141380 (~16 GB) Totale bytes written: 0 ############################################################# # DOLPHIN EXPERIMENT (sshfs, details view, # # folder size: show content size up to 1 level of depth, # # previews disabled) # ############################################################# == STEP 0, CLIENT SIDE == (make sure the remote storage is not mounted) fusermount -u /home/user/server == STEP 1, SERVER SIDE == (clear the ZFS RAM cache) # zpool export zpool_1 (reload the ZFS pool) # zpool import zpool_1 (mount the encrypted dataset) # zfs mount -l zpool_1/dataset == STEP 2, CLIENT SIDE == (mount the remote storage) sshfs -o cache=yes -o kernel_cache -o compression=no [email protected]:/zpool_1/dataset /home/user/server == STEP 3, SERVER SIDE == start the I/O metrics collection script (see attachment) == STEP 4, CLIENT SIDE == open Dolphin in Dolphin addressbar, paste /home/user/server/photos and press enter wait until Dolphin size column gets populated for all entries == STEP 5, SERVER SIDE == press CTRL+C and see script output === SUMMARY === Total read operations: 3071892 Total write operations: 0 Total bytes read: 15900982269 (~16 GB) Totale bytes written: 0 ############################################################## # DOLPHIN EXPERIMENT (sftp, folders view, previews disabled) # ############################################################## == STEP 0, CLIENT SIDE == (make sure the remote storage is not mounted) fusermount -u /home/user/server == STEP 1, SERVER SIDE == (clear the ZFS RAM cache) # zpool export zpool_1 (reload the ZFS pool) # zpool import zpool_1 (mount the encrypted dataset) # zfs mount -l zpool_1/dataset start the I/O metrics collection script (see attachment) == STEP 2, CLIENT SIDE == open Dolphin in Dolphin addressbar, paste sftp://[email protected]/zpool_1/dataset/photos and wait until Dolphin scrolling is back to normal smoothness and server hdd activity led is back to rest == STEP 3, SERVER SIDE == press CTRL+C and see script output === SUMMARY === Total read operations: 57439 Total write operations: 0 Total bytes read: 319426172 (~0.3 GB) Totale bytes written: 0 ###################################### # KRUSADER EXPERIMENT (sshfs, default settings) # ###################################### == STEP 0, CLIENT SIDE == (make sure the remote storage is not mounted) fusermount -u /home/user/server == STEP 1, SERVER SIDE == (clear the ZFS RAM cache) # zpool export zpool_1 (reload the ZFS pool) # zpool import zpool_1 (mount the encrypted dataset) # zfs mount -l zpool_1/dataset == STEP 2, CLIENT SIDE == (mount the remote storage) sshfs -o cache=yes -o kernel_cache -o compression=no [email protected]:/zpool_1/dataset /home/user/server == STEP 3, SERVER SIDE == start the I/O metrics collection script (see attachment) == STEP 4, CLIENT SIDE == open Krusader in Krusader addressbar, paste /home/user/server/photos and press enter wait until server hdd activity led is back to rest == STEP 5, SERVER SIDE == press CTRL+C and see script output === SUMMARY === Total read operations: 89929 Total write operations: 0 Total bytes read: 508199936 (~0.5 GB) Totale bytes written: 0 ################# # LS EXPERIMENT # ################# == STEP 0, CLIENT SIDE == (make sure the remote storage is not mounted) fusermount -u /home/user/server == STEP 1, SERVER SIDE == (clear the ZFS RAM cache) # zpool export zpool_1 (reload the ZFS pool) # zpool import zpool_1 (mount the encrypted dataset) # zfs mount -l zpool_1/dataset == STEP 2, CLIENT SIDE == (mount the remote storage) sshfs -o cache=yes -o kernel_cache -o compression=no [email protected]:/zpool_1/dataset /home/user/server == STEP 3, SERVER SIDE == start the I/O metrics collection script (see attachment) == STEP 4, CLIENT SIDE == run ls -lah /home/user/server/photos == STEP 5, SERVER SIDE == press CTRL+C and see script output === SUMMARY === Total read operations: 55261 Total write operations: 0 Total bytes read: 307577420 (~0.3 GB) Totale bytes written: 0 -- You are receiving this mail because: You are watching all bug changes.
