[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libreswan-dev
Subject:    [Swan-dev] Heads up KVM tweaks
From:       Andrew Cagney <andrew.cagney () gmail ! com>
Date:       2021-10-29 17:26:18
Message-ID: CAJeAr6s0M2cTEtwK+Kj-DxTnaB0Tu8gDmOJVXDVJs3g4i+t2tA () mail ! gmail ! com
[Download RAW message or body]

FYI,

I made the below tweaks to how KVMs are built.  It also should
automatically update (...), and building should be faster overall.
If you're not already setting KVM_WORKERS in Makefile.inc.local,
there's now another incentive - the heuristic is #cores/2.

Andrew

kvm: use KVM_WORKERS as heuristic for beefing up build machine

    (KVM_WORKERS defaults to 1)

    Memory: change 2048 to
      1024+2*512*$(KVM_WORKERS)
    (a test requires 2*512mb VMs * $(KVM_WORKERS))

    CPU: change 2 to
      $(KVM_WORKERS)
    which means the default is 1 (the heuristic is #cores/2 so
    that assumed a 4-core machine).

    Make: use the #CPUs+1 heuristic vis:
      -j $(KVM_WORKERS)+1
_______________________________________________
Swan-dev mailing list
Swan-dev@lists.libreswan.org
https://lists.libreswan.org/mailman/listinfo/swan-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic