[Varnish] #1198: Make check takes much longer after we started to sync the shmem file

Varnish varnish-bugs at varnish-cache.org
Wed Sep 26 11:21:43 CEST 2012


#1198: Make check takes much longer after we started to sync the shmem file
--------------------+-------------------
 Reporter:  martin  |      Owner:
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:
Component:  build   |    Version:  trunk
 Severity:  normal  |   Keywords:
--------------------+-------------------
 In commit cc710d56021a4d1927ceedf426cebfff48ef1860 we started to sync the
 shmem file to disk during startup, as a fix for kernels without coherent
 VM/buf (OpenBSD?). This makes a make check on my computer take almost 3
 times longer. Minor issue, but still a bit annoying to spend the extra
 times on systems that don't have the VM issues.

 {{{
 With the msync:
 $ time make -j8 check
 real    2m56.515s
 user    0m26.498s
 sys     0m26.870s

 Without the msync:
 $ time make -j8 check
 real    1m10.838s
 user    0m22.737s
 sys     0m24.970s
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1198>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list