Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Limitations to chmod and performanceby c-era (Curate) |
on Nov 12, 2001 at 17:57 UTC ( [id://124822]=note: print w/replies, xml ) | Need Help?? |
We just replaced a script that fixed permisions (basicaly chmod -R) because it was too slow. I found it was faster to read the permisions on every file, and then only do a chmod to the files that needed it. I should note, our system is running on average 85% disk utilization (and yes it is raided). Just try a couple of different scripts, and benchmark them to see what works best for your system.
In Section
Seekers of Perl Wisdom
|
|