92fd83a4aa
- Cache average access time for write-back policy - HDD average access time using RPM and head-seek time
8 lines
147 B
Python
Executable File
8 lines
147 B
Python
Executable File
#!/bin/python
|
|
|
|
rpm = int(input("RPM? "))
|
|
headseek = int(input("AVG head seek? (ms) ")) # ms
|
|
rotlat = 60/rpm/2 * 1000 # ms
|
|
print(headseek+rotlat)
|
|
|