wujingcqu / ecryptfs-stats

Measuring the time ecryptfs consumes in encryption and I/O steps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ecryptfs-stats

Measuring the time ecryptfs consumes in encryption and I/O steps.

Usage

1.make && insmod && mount

  1. Write to ecryptfs: dd if=/dev/zero of=a bs=4K count=100

  2. Get the timing results: cat /proc/ecryptfs_time_stat

  3. Sum the I/O time or crypto time: tail -n100 /proc/ecryptfs_time_stat | awk '{print $6}' | awk '{sum+=$1} END {print sum}'

About

Measuring the time ecryptfs consumes in encryption and I/O steps.


Languages

Language:C 99.9%Language:Makefile 0.1%