View collect-crashes.sh
#!/bin/bash | |
set -x | |
cd ~/go/src/github.com/rfjakob/gocryptfs/tests/stress_tests || exit 1 | |
export TMPDIR=/mnt/ext4-ramdisk | |
for i in $(seq 1 1000) ; do | |
LOG="/tmp/fsstress.log.$(date --iso).$i" | |
if [[ -e $LOG ]]; then | |
continue | |
fi | |
rm -Rf "$TMPDIR"/fsstress* |
View ls.txt
$ ls -l /mnt/synology/public/tmp/g1 | |
total 0 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1000 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1001 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1002 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1003 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1004 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1005 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1006 | |
-rwxr-xr-x. 1 jakob jakob 0 May 24 21:56 1007 |
View stats-ext4.txt
+ date | |
Sat 02 May 2020 03:11:29 PM UTC | |
+ cat /proc/spl/kstat/zfs/arcstats | |
cat: /proc/spl/kstat/zfs/arcstats: No such file or directory | |
+ free -m | |
total used free shared buff/cache available | |
Mem: 3918 159 2996 1 761 3499 | |
Swap: 0 0 0 | |
+ echo 3 | |
+ sleep 1 |
View stats-zfs.txt
+ 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 |
View arcstats.txt
$ 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 |
View speed_temp_freq.sh
#!/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) |
View rsync_speed.txt
$ 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 |
View gvfs-udisks2-volume-monitor.strace.log
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 |
View test.log
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. |
View bisect.log
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 |
NewerOlder