Closed GoogleCodeExporter closed 9 years ago
To fix: Implement a synchronized cache that prevents the same file from being
read into memory multiple times. Because the files being served by go-susi
rarely change, it is okay to simply keep them alive in the cache for a while
without checking the disk for changes. The lifetime should be extended for
every access of the file, so that 100 machines that boot in 10s intervals will
only cause a single read of e.g. pxelinux.0 from disk, even though the whole
process takes 1000s. There's probably no point in implementing a maximum
lifetime. Ordinarily when PXE boot files are replaced, go-susi will be
restarted anyway as part of the update process.
Original comment by mux2...@gmail.com
on 9 Jul 2013 at 2:41
Fixed in 25a7605822f1
Original comment by mux2...@gmail.com
on 9 Jul 2013 at 5:23
Original issue reported on code.google.com by
mux2...@gmail.com
on 9 Jul 2013 at 2:32