Re: 9.2beta1, parallel queries, ReleasePredicateLocks, CheckForSerializableConflictIn in the oprofile
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Sergey Koposov <koposov@ast.cam.ac.uk>
Cc: Florian Pflug <fgp@phlo.org>, Merlin Moncure <mmoncure@gmail.com>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org, Jeff Janes <jeff.janes@gmail.com>
Date: 2012-05-31T00:54:54Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Improve bulk-insert performance by keeping the current target buffer pinned
- 85e2cedf985b 8.4.0 cited
* Sergey Koposov (koposov@ast.cam.ac.uk) wrote: > I did a specific test with just 6 threads (== number of cores per cpu) > and ran it on a single phys cpu, it took ~ 12 seconds for each thread, > and when I tried to spread it across 4 cpus it took 7-9 seconds per > thread. But all these numbers are anyway significantly better then > when I didn't use taskset. Which probably means without it the > processes were jumping from core to core ? ... Oh, and wrt why 'cat' isn't really affected by this issue- that's because 'cat' isn't *doing* anything, CPU wise, really. The PG backends are actually doing real work and therefore they have both CPU state and memory accesses which are impacted when the process is moved from one core to another. If this system has NUMA (where memory is associated with a set of cores), then that can make it more painful when threads are being moved between cores also, because suddenly the memory you were accessing (which was 'fast') is now taking longer because you're having to go through another CPU to get to it. Thanks, Stephen