| To: | P@xxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: gettimeofday scalability |
| From: | Ingo Molnar <mingo@xxxxxxx> |
| Date: | Tue, 5 Oct 2004 21:18:58 +0200 |
| Cc: | netdev@xxxxxxxxxxx, Andrea Arcangeli <andrea@xxxxxxx> |
| In-reply-to: | <4162CD76.4070204@draigBrady.com> |
| References: | <4162CD76.4070204@draigBrady.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4.1i |
* P@xxxxxxxxxxxxxx <P@xxxxxxxxxxxxxx> wrote:
> In particular I was wondering about reducing the overhead of
> calling do_gettimeofday.
> 2.6.8.1 uses seqlock, which contains the comment that it's not as
> cache friendly as brlock.
that comment is way too modest! Seqlocks are very cache-friendly in the
read path. There is no reason to use brlocks anymore for fixed-frequency
writers like the timer seqlock. (writers can starve seqlock readers but
in the timer case the writers occur only once every 1 msec.)
so please benchmark 2.6, it should scale linearly in this area.
Ingo
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: gettimeofday scalability, P |
|---|---|
| Next by Date: | Re: PATCH: [SKBUFF] introduce skb_link_header_size(skb), Thomas Graf |
| Previous by Thread: | Re: gettimeofday scalability, Andrea Arcangeli |
| Next by Thread: | [PATCH] [IPVS] Fix endian problem on sync message size, Wensong Zhang |
| Indexes: | [Date] [Thread] [Top] [All Lists] |