file fragmentation project

JanC usenet_spam at janc.invalid
Sat Jun 5 22:11:07 EDT 2004


Bart Nessux <bart_nessux at hotmail.com> schreef:

> Python may not be suitable for this, but I thought I'd ask the experts:
> 
> I'm doing a summer project that will attempt to measure exactly how file 
> fragmentation affects disk drive and OS performance. I'd like to use 
> Python for some of this. In particular,  I'd like to write a file 
> fragmentor in Python that will randomly fragment x% of files on a NTFS 
> filesystem into y number of fragments. For example, assuming that we 
> start with a 100% defragmented drive, run the program  to randomly 
> fragment 20% of the drive's files into 7 different fragments (may also 
> base the number of fragments on the file's size).
> 
> Anyway, would Python be acceptable for this type of project? Speed is 
> somewhat important, but not extremely.
> 
> All comments and advice are welcomed.

Read this: <http://www.sysinternals.com/ntw2k/info/defrag.shtml>

-- 
JanC

"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9



More information about the Python-list mailing list