Advertisement
42n4

proxmox_ceph_test

Jun 28th, 2016
376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.32 KB | None | 0 0
  1. #curl http://pastebin.com/raw/TcCjATwn | sed 's/\r$//'  > proxmox_ceph_test.sh  
  2. #sh proxmox_ceph_test.sh  
  3. #curl ix.io/client > /usr/local/bin/ix
  4. #chmod +x /usr/local/bin/ix
  5. #git clone https://github.com/bengland2/smallfile.git; cd smallfile
  6. #ssh-keygen -t rsa -b 2048 -N '' -f /root/.ssh/id_rsa
  7. #ssh-copy-id -i root@localhost
  8. echo 1 > /proc/sys/vm/drop_caches; sync
  9. ./smallfile_cli.py --top . --host-set localhost --threads 8 --file-size 4 --files 10000 --response-times Y --operation create 2>&1 | cat > out_smallfile_res.txt
  10. echo 1 > /proc/sys/vm/drop_caches; sync
  11. ./smallfile_cli.py --top . --host-set localhost --threads 8 --file-size 4 --files 10000 --response-times Y --operation read  2>&1 | cat >> out_smallfile_res.txt
  12. echo 1 > /proc/sys/vm/drop_caches; sync
  13. ./smallfile_cli.py --top . --host-set localhost --threads 8 --file-size 4 --files 10000 --response-times Y --operation append 2>&1 | cat >> out_smallfile_res.txt
  14. echo 1 > /proc/sys/vm/drop_caches; sync
  15. ./smallfile_cli.py --top . --host-set localhost --threads 8 --file-size 4 --files 10000 --response-times Y --operation rename 2>&1 | cat >> out_smallfile_res.txt
  16. echo 1 > /proc/sys/vm/drop_caches; sync
  17. ./smallfile_cli.py --top . --host-set localhost --threads 8 --file-size 4 --files 10000 --response-times Y --operation delete 2>&1 | cat >> out_smallfile_res.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement