[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sort: Parallel merging
From: |
Chen Guo |
Subject: |
Re: sort: Parallel merging |
Date: |
Wed, 17 Feb 2010 16:52:44 -0800 (PST) |
Hi Shaun
> Comparing the structs requires comparing the actual lines, right? Don't
> we want the actual lines in cache?
HA that's right. How stupid of me.
> I don't know either, but once I get your parallel merging patch running,
> I'll do some benchmarks. Anybody know the magic incantation to lock a
> particular process onto a particular CPU, preventing any other processes
> from running on that CPU?
It's Glen's patch, not mine. As for processes... a quick google search returns
lockpid, but not sure that's what we want, since we want threads to run
on different CPUs; but all the threads we create would have the same PID. You
might have to change all the pthread_create calls to forks in Glen's patch.