SV: DHCPD performance -- solid-state disks?
fredrik.bjork at fiberdata.se
Fri Sep 9 15:44:31 UTC 2011
If disks really are the problem, logging to syslog may be the real issue. Try directing the dhcp logs to a special file and not sync to disk too often.
The minus before the filename tells the syslog server not to write to disk too often. This saves writes a lot on busy systems.
>From the syslog.conf man page:
"You may prefix each entry with the minus '-' sign to omit syncing the file after every logging. Note that
you might lose information if the system crashes right behind a write attempt. Nevertheless this might give
you back some performance, especially if you run programs that use logging in a very verbose manner."
Another way could be to direct syslogs to a different server so you don't need the disk for syslogs at all:
Then again, a ramdisk is a good choise too, both for logging and leases.
More information about the dhcp-users