Alan Hargreaves' Weblog
The ramblings of an Australian SaND TSC* Principal Field Technologist
* Solaris and Network Domain Technology Support Centre - The group I work forTags
(update 1) acoustic bind birthday blues bugs cec cec2007 cec2008 china cmt contention cringley debugging dogs dtrace earthquake encumbered-binaries extra flash funny google guitar halloween huron install kids linux liveupgrade locking mdb music mysql newyear niagra openjava opensolaris oracle patches patents percussion performance redhat secondlife security solaris sru sun support sxcr t2 t2000 timeslider ufs upgrade virtualbox windows youtube zfs
Tuesday Aug 17, 2004
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.
Posted at 10:15AM Aug 17, 2004 by Alan Hargreaves in Solaris |

