Re: Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22)



On Sun, Mar 16, 2008 at 10:16:36PM -0700, Ray Lee wrote:
On Sun, Mar 16, 2008 at 5:44 PM, Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:
I don't see how it is really helpful for interactive processes either.
By definition, if they are not CPU bound, then they should be run
quite soon after waking up; if they are CPU bound, then reducing
efficiency by increasing context switches is effectively going to
increase their latency anyway.

How? Are you saying that switching the granularity to, say, 25ms, will
*decrease* the latency of interactive tasks?

And the efficiency we're talking about reducing here is due to the
fact that tasks are hitting cold caches more times per second when the
granularity is smaller, correct? Or are you concerned by another
issue?

Can this be changed by default, please?

Not without benchmarks of interactivity, please. There are far, far
more linux desktops than there are servers. People expect to have to
tune servers (I do, for the servers I maintain). People don't expect
to have to tune a desktop to make it run well.

Oh and even on servers, when your anti-virus proxy reaches a load of 800,
you're happy no to have too large a time-slice so that you regularly get
a chance of being allowed to type in commands over SSH.

Large time-slices are needed only in HPC environments IMHO, where only
one task runs.

Willy

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22)
    ... By definition, if they are not CPU bound, then they should be run ... And the efficiency we're talking about reducing here is due to the ... tune servers ...
    (Linux-Kernel)
  • Re: AMDs well may be running dry
    ... dinosaurs, I simply decline to add more inappropriate, pointless clutter ... SUN and the EPA are working on a server performance/power efficiency ... energy efficiency rating for servers that takes into account the ...
    (comp.os.vms)
  • Re: controversial paper
    ... You could have n servers, each of which serves up only ... > every nth address in sequence. ... The 'efficiency' could be higher ... > same time there will be portions of it that do not have enough addresses ...
    (sci.crypt)
  • Google builds own servers for efficiency
    ... Google builds own servers for efficiency ... Google, typically tight-lipped about the technology behind its data ... Energy efficiency is a subject Holzle speaks passionately about. ... The power supply to servers is one place that energy is unnecessarily ...
    (alt.internet.search-engines)
  • Re: List all the files of specific extention on remote Cluster Nod
    ... You could reducing it even more to just FileSize and Path. ... Set colFiles = objWMIService.ExecQuery _ ... on remote Cluster Node. ... I have about 20 cluser servers around the world ...
    (microsoft.public.windows.server.scripting)