Skip to content

Move files from one disk to another and benchmark disk write speed

Notifications You must be signed in to change notification settings

ayushthedev/MoveAndBenchmark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MoveAndBenchmark

This is a simple python script for doing the moving files between a source disk and a destination disk, deleting files older than a specified date on the destination disk, and benchmarking the write speed of the source disk. We use it for keeping filesystems clean on our data acquisition computers where we have a small, fast, SSD array and a large, slow, hard drive array. This script:

  • Deletes files older than X (default: 30) days on destination
  • (Optional) Moves files from source to destination
  • (Optional) Benchmarks the write speed of source
  • Logs the amount of data moved and the write speed

This allows us to empty the SSD every day and delete files off the hard drive often enough so that there is space to write new data. It uses the Parkdale command line tool to do the write speed benchmarking. We benchmark to see if SSD RAID 0 arrays without TRIM enabled are degrading in performance.

Use this program at your own risk! If you set parameters incorrectly, it can wipe your whole disk! Make sure you understand what you are doing before you run it.

About

Move files from one disk to another and benchmark disk write speed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%