Christopher Baines <m...@cbaines.net> writes: > Hilton Chain <hako@ultrarare.space> writes: >[...] >> narinfo mirror in LAN >> --8<---------------cut here---------------start------------->8--- >> http://crustum:9018 ⛈ >> 6.3% substitutes available (2,046 out of 32,728) >> 13,395.3 MiB of nars (compressed) >> 28,202.9 MiB on disk (uncompressed) >> 0.000 seconds per request (14.0 seconds in total) >> 2,186.7 requests per second >> (continuous integration information unavailable) >> --8<---------------cut here---------------end--------------->8--- > > I'd hesitate to use guix weather to do performance profiling, as in my > experience at least, the slowest part is populating the local narinfo > cache. To test the true performance of the remote server, you'd need to > disable that part.
Thanks! It's indeed the bottleneck when I test on localhost. However it seems that other tests are not yet affected by it. localhost (caching to disk) --8<---------------cut here---------------start------------->8--- http://localhost:9018 ☀ [...] 0.000 seconds per request (13.6 seconds in total) 2,617.3 requests per second --8<---------------cut here---------------end--------------->8--- localhost (without caching to disk) --8<---------------cut here---------------start------------->8--- http://localhost:9018 ☀ [...] 0.000 seconds per request (6.4 seconds in total) 5,480.1 requests per second --8<---------------cut here---------------end--------------->8--- All without caching to disk below, mirrors responding too slow in my environment are not included btw. Less performant than before, since in this period connections are heavily affected by QoS from my ISP. Cloudflare, uncached --8<---------------cut here---------------start------------->8--- https://cache-cdn.guix.moe ☀ [...] 0.033 seconds per request (1,180.9 seconds in total) 29.9 requests per second --8<---------------cut here---------------end--------------->8--- Cloudflare, cached --8<---------------cut here---------------start------------->8--- https://cache-cdn.guix.moe ☀ [...] 0.020 seconds per request (704.9 seconds in total) 50.0 requests per second --8<---------------cut here---------------end--------------->8--- Germany --8<---------------cut here---------------start------------->8--- https://cache-de.guix.moe ☀ [...] 0.002 seconds per request (62.7 seconds in total) 562.6 requests per second --8<---------------cut here---------------end--------------->8--- United States --8<---------------cut here---------------start------------->8--- https://cache-us-lax.guix.moe ☀ [...] 0.002 seconds per request (64.9 seconds in total) 543.3 requests per second --8<---------------cut here---------------end--------------->8--- LAN --8<---------------cut here---------------start------------->8--- http://crustum:9018 ☀ [...] 0.000 seconds per request (16.2 seconds in total) 2,177.6 requests per second --8<---------------cut here---------------end--------------->8---