Alan Hargreaves' Blog

The ramblings of a former Australian SaND TSC* Principal Field Technologist

Unlink slow on some systems

A trackback comment from Mark in Soft Updates in Solaris is amazingly timely. Very recently I had a call about the converse problem. That is, a customer was seeing rm and the like run very slowly on some systems and very quickly on others.

I have explained what is going on in SRDB 77645 – “UFS[TM]: Deleting Files and Directories is Slow”, which was published less than a week ago.

What it comes down to is that when ufs logging is turned on, the process of cleaning out the inode is placed into the transaction queue to be handled by a dedicated kernel thread and the unlink() system call immediately returns. See the SRDB for more detail.


Written by Alan

August 16, 2004 at 5:15 pm

Posted in Solaris

%d bloggers like this: