qemu-e2k/scripts/kvm
Janosch Frank 392a7fa3ca scripts/kvm/kvm_stat: Set sensible no. files rlimit
As num cpus * 1000 is NOT a sensible rlimit, we need to calculate a
more accurate rlimit.

The number of open files is directly dependent on the cpu count and on
the number of trace points per cpu. A additional constant works as a
buffer for files that are needed by python or do get opened when the
script runs.

Hence we have:
      cpus * traces + constant

Reviewed-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Message-Id: <1452525484-32309-15-git-send-email-frankja@linux.vnet.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2016-01-26 15:58:12 +01:00
..
kvm_flightrecorder
kvm_stat scripts/kvm/kvm_stat: Set sensible no. files rlimit 2016-01-26 15:58:12 +01:00
kvm_stat.texi kvm_stat: add kvm_stat.1 man page 2015-03-10 10:49:25 +01:00
vmxcap vmxcap: Update according to SDM of September 2014 2014-09-26 21:08:56 +04:00