Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1341876 > unrolled thread

Re: [PATCH 0/4 v6] sched,time: reduce nohz_full syscall overhead 40%

Started byThomas Gleixner <tglx@linutronix.de>
First post2016-02-24 12:20 +0100
Last post2016-02-24 12:20 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 0/4 v6] sched,time: reduce nohz_full syscall overhead  40% Thomas Gleixner <tglx@linutronix.de> - 2016-02-24 12:20 +0100

#1341876 — Re: [PATCH 0/4 v6] sched,time: reduce nohz_full syscall overhead 40%

FromThomas Gleixner <tglx@linutronix.de>
Date2016-02-24 12:20 +0100
SubjectRe: [PATCH 0/4 v6] sched,time: reduce nohz_full syscall overhead 40%
Message-ID<r5FE6-3ID-13@gated-at.bofh.it>
On Wed, 10 Feb 2016, riel@redhat.com wrote:

> (v6: make VIRT_CPU_ACCOUNTING_GEN jiffy granularity)
> 
> Running with nohz_full introduces a fair amount of overhead.
> Specifically, various things that are usually done from the
> timer interrupt are now done at syscall, irq, and guest
> entry and exit times.
> 
> However, some of the code that is called every single time
> has only ever worked at jiffy resolution. The code in
> __acct_update_integrals was also doing some unnecessary
> calculations.
> 
> Getting rid of the unnecessary calculations, without
> changing any of the functionality in __acct_update_integrals
> gets us about an 11% win.
> 
> Not calling the time statistics updating code more than
> once per jiffy, like is done on housekeeping CPUs and on
> all the CPUs of a non-nohz_full system, shaves off a
> further 30%.

Reviewed-by: Thomas Gleixner <tglx@linutronix.de>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web