Date: Fri, 19 Feb 1999 12:42:06 +1300 From: Andrew McNaughton <andrew@squiz.co.nz> To: freebsd-isp@FreeBSD.ORG Subject: file locking Message-ID: <199902182342.XAA22473@aniwa.sky>
next in thread | raw e-mail | index | archive | help
I'm doing some tuning of a perl script which serves up web banners. Disk IO is the critical resource, and the way the script is structured means that multiple instances wind up waiting on each other's file locks. Can anyone tell me what level of disk overhead is caused by checking repeatedly for the presence of an flock, or a file. Is this significant, or does it just get negated by cache? Is there an advantage to flock over lock files or vice versa? Andrew McNaughton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902182342.XAA22473>