gmd20
c20c7992a0
main: add "-kernel_cache" flag
This option is similar to fuse(8) kernel_cache
Verified using vmtouch.
Without -kernel_cache:
$ dd if=/dev/zero of=foo bs=1M count=10 ; vmtouch -t foo ; vmtouch foo
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0,0242321 s, 433 MB/s
Files: 1
Directories: 0
Touched Pages: 2560 (10M)
Elapsed: 0.011159 seconds
Files: 1
Directories: 0
Resident Pages: 0/2560 0/10M 0%
Elapsed: 0.000993 seconds
With -kernel_cache:
$ dd if=/dev/zero of=foo bs=1M count=10 ; vmtouch -t foo ; vmtouch foo
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0,0244015 s, 430 MB/s
Files: 1
Directories: 0
Touched Pages: 2560 (10M)
Elapsed: 0.011564 seconds
Files: 1
Directories: 0
Resident Pages: 2560/2560 10M/10M 100%
Elapsed: 0.000369 seconds
2020-12-20 09:55:04 +01:00
..
2020-12-20 09:55:04 +01:00
2020-07-17 22:14:40 +02:00
2020-05-17 21:37:36 +02:00
2020-08-16 12:50:33 +02:00
2020-08-16 13:52:27 +02:00
2020-08-16 19:58:47 +02:00
2020-08-16 12:50:33 +02:00
2020-10-14 13:40:12 +02:00
2020-07-14 19:55:20 +02:00
2020-10-14 00:35:16 +02:00
2020-08-01 19:26:42 +02:00
2020-09-09 11:17:19 +02:00
2020-07-14 19:55:20 +02:00
2020-10-18 21:07:30 +02:00
2020-12-20 09:55:04 +01:00
2020-07-14 19:55:20 +02:00
2020-10-14 00:35:16 +02:00
2020-07-14 19:55:20 +02:00