public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: ada@thorsis.com (Alexander Dahl)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver
Date: Thu, 29 Mar 2018 17:11:08 +0200	[thread overview]
Message-ID: <2097113.JiHb7Y1Uf1@ada> (raw)
In-Reply-To: <3478710.yJBBt3uoRT@ada>

Hei hei,

Am Donnerstag, 29. M?rz 2018, 10:01:26 CEST schrieb Alexander Dahl:
> This is the result:
> 
> INT                NAME          RATE             MAX
>  17 [vel     timer at fffa]  1837 Ints/s     (max:  1912)
>  26 [      vel     eth0]     3 Ints/s     (max:    11)

Above was with v4.16-rc7+, and CONFIG_ATMEL_CLOCKSOURCE_TCB=y, 
CONFIG_ATMEL_TCLIB=n (as one might see in the name column).

Now, v4.16-rc7+, with CONFIG_ATMEL_CLOCKSOURCE_PIT=y, CONFIG_ATMEL_TCLIB=y, 
CONFIG_ATMEL_TCB_CLKSRC=y (old driver I guess):

INT                NAME          RATE             MAX
 19 [ vel     tc_clkevt]  1898 Ints/s     (max:  1945)
 26 [      vel     eth0]     3 Ints/s     (max:    11)

So the rates here are roughly the same with old and new driver and the same 
kernel source. As Alexandre stated in IRC, the rates should be the same with 
old and new driver on the otherwise same kernel source.

I just double checked it, and with the other clocksource on v4.16-rc7+ I get:

INT                NAME          RATE             MAX
 17 [vel     timer at fffa]  1904 Ints/s     (max:  1922)
 26 [      vel     eth0]     6 Ints/s     (max:     7)

The lower rates I reported yesterday were from older kernels v4.14.29-rt25 and 
v4.15.13, so there might be the question why v4.16-rc7+ has a much higher rate 
with tc_clkevt? But there's no real difference between tc_clkevt and 
timer at fffa? when both measured with v4.16-rc7+ on this target. I know 
Alexandre has lower rates though, may depend on other parameters.

So for completeness, I just tested the clean v4.16-rc7 without this patch 
series: 

INT                NAME          RATE             MAX
 19 [ vel     tc_clkevt]  1903 Ints/s     (max:  1930)
 26 [      vel     eth0]     7 Ints/s     (max:     7)

Basically the same for this one, too.

HTH & Greets
Alex

      parent reply	other threads:[~2018-03-29 15:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-23 17:15 [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver Alexandre Belloni
2018-02-23 17:15 ` [PATCH v3 1/6] ARM: at91: add TCB registers definitions Alexandre Belloni
2018-02-23 17:15 ` [PATCH v3 2/6] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks Alexandre Belloni
2018-02-23 17:15 ` [PATCH v3 3/6] clocksource/drivers: atmel-pit: make option silent Alexandre Belloni
2018-02-23 17:15 ` [PATCH v3 4/6] ARM: at91: Implement clocksource selection Alexandre Belloni
2018-02-23 17:15 ` [PATCH v3 5/6] ARM: configs: at91: use new TCB timer driver Alexandre Belloni
2018-02-23 17:15 ` [PATCH v3 6/6] ARM: configs: at91: unselect PIT Alexandre Belloni
2018-03-22 15:33 ` [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver Alexandre Belloni
2018-03-27 10:41 ` Alexander Dahl
2018-03-27 11:30   ` Daniel Lezcano
2018-03-28 10:29     ` Alexander Dahl
2018-03-28 13:03       ` Daniel Lezcano
2018-03-28 14:16         ` Alexandre Belloni
2018-03-28 14:36           ` Daniel Lezcano
2018-03-28 15:31             ` Alexandre Belloni
2018-03-28 15:50               ` Alexandre Belloni
2018-03-29  8:01                 ` Alexander Dahl
2018-03-29 10:45                   ` Alexandre Belloni
2018-03-29 11:31                     ` Alexander Dahl
2018-03-29 11:42                       ` Alexandre Belloni
2018-03-29 12:07                         ` Daniel Lezcano
2018-03-29 13:02                           ` Alexandre Belloni
2018-03-29 15:11                   ` Alexander Dahl [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2097113.JiHb7Y1Uf1@ada \
    --to=ada@thorsis.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox