deleting file takes longer than creating it

Michael Tiernan mtiernan at
Wed May 5 08:59:25 CDT 2010

On 5/4/10 6:25 PM, John G. Heim wrote:
> It took 12 seconds to create the file and 33 seconds to rm it. Why would
> that be?
Because you took 12 seconds to fill a 1Kx1E6 file with bytes in the 
first instance and 33 seconds to mark the file as deleted and free all 
the blocks it took on the file system.

Filling it requires moving 1Kx1E6 bytes and deleting it requires 
changing < ~1K bytes.

No surprise here.

   <<  MCT>>    Michael C Tiernan.   xmpp:mtiernan at
   MIT - Laboratory for Nuclear Science -
   High Perf Research Computing Facility at The Bates Linear Accelerator
   "Bit-smashing your bits better than anyone can!"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5507 bytes
Desc: S/MIME Cryptographic Signature
Url : 

More information about the Linux-PowerEdge mailing list