On my Notebook with a Pentium1-75 (14MB Ram) "Caching service dependencies" (depscan.sh) takes about 180 seconds during each bootup. If I comment out that performance-enhancement of Spider, it takes just 90 secs. Perhaps there could be something to do that ONCE and not at every bootup...
it's not only on small memory machines. i've a diskless dual pentium pro 200, 256 mb ram over 100 mbit crossover server is a p166 mmx 128 mb ram with scsi it also taking a lot of time on this system. this services does a lot of read/write. in your case it's terrible cause your system seems to swaping everything (caus of your small memory)
Known issue. Work has already been started to port depscan.sh to C, but it was not a high priority. Will let you know as soon as there are prototypes out to be tested.
I'll gladly test these and report any load/time/* information I'm able to give you. But: I don't understand why this depscan.sh has to run on every boot? There could be other solutions, like saving the obtained information and updating it on demand?
Try baselayout-1.8.5. For me its about 10 times faster on my pII 350: ------------------------------------ gateway root # time ./depscan.sh * Caching service dependencies... [ ok ] real 0m7.186s user 0m3.500s sys 0m3.690s gateway root # time depscan.sh * Caching service dependencies... [ ok ] real 0m0.811s user 0m0.560s sys 0m0.250s gateway root # -----------------------------------
That fixed it for me. About factor 10 faster from the first version, which was at around 180 seconds for me. My modified version from 1.8.4 with spiders "cat *" speedfix removed notebook root # time ./depscan.sh * Caching service dependencies... [ ok ] real 1m 0.886s user 0m31.342s sys 0m28.050s New version 1.8.5 notebook root # time depscan.sh * Caching service dependencies... [ ok ] real 0m20.493s user 0m17.568s sys 0m 1.386s notebook root #