This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ date | |
Sat 02 May 2020 02:35:27 PM UTC | |
+ cat /proc/spl/kstat/zfs/arcstats | |
12 1 0x01 98 26656 61459994959 8348037495402 | |
name type data | |
hits 4 693075 | |
misses 4 114218 | |
demand_data_hits 4 83094 | |
demand_data_misses 4 107008 | |
demand_metadata_hits 4 581417 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /proc/spl/kstat/zfs/arcstats | |
12 1 0x01 98 26656 187832775182252 189000500220796 | |
name type data | |
hits 4 776 | |
misses 4 0 | |
demand_data_hits 4 0 | |
demand_data_misses 4 0 | |
demand_metadata_hits 4 776 | |
demand_metadata_misses 4 0 | |
prefetch_data_hits 4 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Number of processors to use | |
PROCS=4 | |
echo "TIME SPEED TEMP FREQ" | |
SECONDS=0 | |
while sleep 0.1; do | |
SPEED=$(openssl speed -bytes 1024 -multi $PROCS sha256 2>&1 | tail -1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rsync -P /tmp/1g 127.0.0.1:/tmp/1g.2 | |
1g | |
1,073,741,824 100% 22.71MB/s 0:00:45 (xfr#1, to-chk=0/1) | |
$ rsync -P /tmp/1g -e "ssh -T" 127.0.0.1:/tmp/1g.2 | |
1g | |
1,073,741,824 100% 20.39MB/s 0:00:50 (xfr#1, to-chk=0/1) | |
$ rsync -P /tmp/1g -e "ssh -o Compression=no" 127.0.0.1:/tmp/1g.2 | |
1g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osboxes@osboxes:~$ ps auxwww | grep udisk | |
osboxes 1874 0.1 0.4 377172 10064 ? Sl 14:57 0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor | |
root 1881 0.1 0.4 382392 9924 ? Ssl 14:57 0:00 /usr/lib/udisks2/udisksd --no-debug | |
osboxes 2125 0.0 0.0 21292 984 pts/8 R+ 14:59 0:00 grep --color=auto udisk | |
osboxes@osboxes:~$ sudo strace -f -p 1874 | |
strace: Process 1874 attached with 3 threads | |
[pid 1880] restart_syscall(<... resuming interrupted restart_syscall ...> <unfinished ...> | |
[pid 1879] restart_syscall(<... resuming interrupted restart_syscall ...> <unfinished ...> | |
[pid 1874] restart_syscall(<... resuming interrupted restart_syscall ...>) = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
osboxes@osboxes:~/go/src/github.com/hanwen/go-fuse/nodefs$ uname -a | |
Linux osboxes 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux | |
osboxes@osboxes:~/go/src/github.com/hanwen/go-fuse/nodefs$ git describe | |
v1.0.0-170-g4f40cf4 | |
osboxes@osboxes:~/go/src/github.com/hanwen/go-fuse/nodefs$ go test -run TestReadDir -v | |
=== RUN TestReadDir | |
08:02:31.690637 rx 1: INIT i0 {7.26 Ra 0x20000 AUTO_INVAL_DATA,PARALLEL_DIROPS,NO_OPEN_SUPPORT,POSIX_ACL,HANDLE_KILLPRIV,ATOMIC_O_TRUNC,EXPORT_SUPPORT,BIG_WRITES,IOCTL_DIR,READDIRPLUS_AUTO,ASYNC_DIO,WRITEBACK_CACHE,POSIX_LOCKS,SPLICE_READ,FLOCK_LOCKS,READDIRPLUS,SPLICE_MOVE,ASYNC_READ,DONT_MASK,SPLICE_WRITE} | |
08:02:31.690746 tx 1: OK, {7.26 Ra 0x20000 ASYNC_READ,AUTO_INVAL_DATA,PARALLEL_DIROPS,BIG_WRITES,NO_OPEN_SUPPORT,READDIRPLUS 0/0 Wr 0x10000 Tg 0x0} | |
08:02:31.690870 rx 2: LOOKUP i1 [".go-fuse-epoll-hack"] 20b | |
08:02:31.690928 tx 2: 2=no such file or directory, {i0 g0 tE=0s tA=0s {M00 SZ=0 L=0 0:0 B0*0 i0:0 A 0.000000 M 0. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
05a3771cbea72f2f7d50be19daa19f3dff2d6163 is the first bad commit | |
commit 05a3771cbea72f2f7d50be19daa19f3dff2d6163 | |
Author: Kirill Smelkov <kirr@nexedi.com> | |
Date: Sat Feb 16 22:21:52 2019 +0300 | |
fuse: Enable parallel lookup and readdir by default | |
After Linux VFS was enhanced to be able to do several lookups and | |
readdirs in parallel, FUSE client in Linux, in fear to break existing | |
filesystems, explicitly reverted it back to be serial in FUSE exchange |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fuse-xfstests$ sudo ./check-gocryptfs | |
[sudo] password for jakob: | |
gocryptfs v1.7-rc1-67-gbdd5f47-dirty; go-fuse v20170619-82-gc121160-dirty; 2019-02-03 go1.11.4 | |
fuse-xfstests gocryptfs-2018-08-18/d8111119 | |
Sun Feb 3 14:51:49 UTC 2019 | |
FSTYP -- fuse.gocryptfs | |
PLATFORM -- Linux/x86_64 brikett 4.19.12-301.fc29.x86_64 | |
MKFS_OPTIONS -- /var/tmp/check-gocryptfs/scratchdev | |
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/check-gocryptfs/scratchdev /var/tmp/check-gocryptfs/scratchdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fuse-xfstests$ sudo ./check-gocryptfs | |
[sudo] password for jakob: | |
gocryptfs v1.7-rc1-66-gb86cc33; go-fuse v20170619-78-g816463b; 2019-01-24 go1.11.4 | |
fuse-xfstests gocryptfs-2018-08-18/d8111119 | |
Thu Jan 24 07:05:15 UTC 2019 | |
FSTYP -- fuse.gocryptfs | |
PLATFORM -- Linux/x86_64 brikett 4.19.12-301.fc29.x86_64 | |
MKFS_OPTIONS -- /var/tmp/check-gocryptfs/scratchdev | |
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/check-gocryptfs/scratchdev /var/tmp/check-gocryptfs/scratchdir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ./check-gocryptfs | |
gocryptfs v1.7-rc1-66-gb86cc33; go-fuse v20170619-78-gdfd0ceb; 2019-01-23 go1.11.4 | |
fuse-xfstests gocryptfs-2018-08-18/d8111119 | |
Wed Jan 23 21:22:34 UTC 2019 | |
FSTYP -- fuse.gocryptfs | |
PLATFORM -- Linux/x86_64 brikett 4.19.12-301.fc29.x86_64 | |
MKFS_OPTIONS -- /var/tmp/check-gocryptfs/scratchdev | |
MOUNT_OPTIONS -- -o context=system_u:object_r:root_t:s0 /var/tmp/check-gocryptfs/scratchdev /var/tmp/check-gocryptfs/scratchdir |