* [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends
@ 2013-04-15 14:53 Nathan Zimmer
2013-04-16 6:02 ` Jens Axboe
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Nathan Zimmer @ 2013-04-15 14:53 UTC (permalink / raw)
To: linux-btrace
While looking for issues at 4096 cpus I noticed that blktrace was behaving
oddly. Upon reviewing I discovered some parts of the code were written at at
time when boxes were limited to 512 and holes in cpu maps were impossible.
This patch series should correct that.
Nathan Zimmer (5):
verify_blkparse: Change max_cpus to deal with systems larger the 512
btreplay: Machines are now large enough that holes need to be dealt
with
btreplay: use sysconf to get the number of configured cpus
blktrace: use number of configured cpus instead of online cpus
blktrace blkreplay: convert to use a dynamic cpu_set_t
blktrace.c | 20 +++++++++++++-------
btreplay/btreplay.c | 51 +++++++++++++++++++++++++++++++++++----------------
verify_blkparse.c | 23 +++++++++++++++++++----
3 files changed, 67 insertions(+), 27 deletions(-)
--
1.8.1.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends
2013-04-15 14:53 [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends Nathan Zimmer
@ 2013-04-16 6:02 ` Jens Axboe
2013-07-30 19:29 ` Nathan Zimmer
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2013-04-16 6:02 UTC (permalink / raw)
To: linux-btrace
On Mon, Apr 15 2013, Nathan Zimmer wrote:
> While looking for issues at 4096 cpus I noticed that blktrace was behaving
> oddly. Upon reviewing I discovered some parts of the code were written at at
> time when boxes were limited to 512 and holes in cpu maps were impossible.
>
> This patch series should correct that.
Thanks Nathan. I reviewed all 5 and have applied them.
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends
2013-04-15 14:53 [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends Nathan Zimmer
2013-04-16 6:02 ` Jens Axboe
@ 2013-07-30 19:29 ` Nathan Zimmer
2013-08-01 15:43 ` Jens Axboe
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Nathan Zimmer @ 2013-07-30 19:29 UTC (permalink / raw)
To: linux-btrace
On 04/16/2013 01:02 AM, Jens Axboe wrote:
> On Mon, Apr 15 2013, Nathan Zimmer wrote:
>> While looking for issues at 4096 cpus I noticed that blktrace was behaving
>> oddly. Upon reviewing I discovered some parts of the code were written at at
>> time when boxes were limited to 512 and holes in cpu maps were impossible.
>>
>> This patch series should correct that.
> Thanks Nathan. I reviewed all 5 and have applied them.
>
Have you pushed the patches lately?
I checked the public branch git://git.kernel.dk/blktrace.git and I
didn't see my changes.
Thanks,
Nate
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends
2013-04-15 14:53 [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends Nathan Zimmer
2013-04-16 6:02 ` Jens Axboe
2013-07-30 19:29 ` Nathan Zimmer
@ 2013-08-01 15:43 ` Jens Axboe
2013-08-01 18:11 ` Jens Axboe
2013-08-02 12:43 ` Nathan Zimmer
4 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2013-08-01 15:43 UTC (permalink / raw)
To: linux-btrace
On 07/30/2013 01:29 PM, Nathan Zimmer wrote:
> On 04/16/2013 01:02 AM, Jens Axboe wrote:
>> On Mon, Apr 15 2013, Nathan Zimmer wrote:
>>> While looking for issues at 4096 cpus I noticed that blktrace was
>>> behaving
>>> oddly. Upon reviewing I discovered some parts of the code were
>>> written at at
>>> time when boxes were limited to 512 and holes in cpu maps were
>>> impossible.
>>>
>>> This patch series should correct that.
>> Thanks Nathan. I reviewed all 5 and have applied them.
>>
>
> Have you pushed the patches lately?
> I checked the public branch git://git.kernel.dk/blktrace.git and I
> didn't see my changes.
I wonder if I applied and forgot to push them out. Unfortunately my
workstation is in transit at the moment. But I can just re-apply here
and get it pushed out, sorry about that.
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends
2013-04-15 14:53 [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends Nathan Zimmer
` (2 preceding siblings ...)
2013-08-01 15:43 ` Jens Axboe
@ 2013-08-01 18:11 ` Jens Axboe
2013-08-02 12:43 ` Nathan Zimmer
4 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2013-08-01 18:11 UTC (permalink / raw)
To: linux-btrace
On Thu, Aug 01 2013, Jens Axboe wrote:
> On 07/30/2013 01:29 PM, Nathan Zimmer wrote:
> > On 04/16/2013 01:02 AM, Jens Axboe wrote:
> >> On Mon, Apr 15 2013, Nathan Zimmer wrote:
> >>> While looking for issues at 4096 cpus I noticed that blktrace was
> >>> behaving
> >>> oddly. Upon reviewing I discovered some parts of the code were
> >>> written at at
> >>> time when boxes were limited to 512 and holes in cpu maps were
> >>> impossible.
> >>>
> >>> This patch series should correct that.
> >> Thanks Nathan. I reviewed all 5 and have applied them.
> >>
> >
> > Have you pushed the patches lately?
> > I checked the public branch git://git.kernel.dk/blktrace.git and I
> > didn't see my changes.
>
> I wonder if I applied and forgot to push them out. Unfortunately my
> workstation is in transit at the moment. But I can just re-apply here
> and get it pushed out, sorry about that.
Doesn't work so well for me:
gcc -Wall -W -O2 -g -I. -I.. -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITSd -UCOUNT_IOS -UDEBUG -DNDEBUG -c -o btreplay.o
btreplay.c
btreplay.c: In function ‘pin_to_cpu’:
btreplay.c:554:2: error: request for member ‘__bits’ in something not a
structure or union
CPU_SET_S(tip->cpu, size, &cpus);
This should do it:
- CPU_ZERO_S(ncpus, &cpus);
- CPU_SET_S(tip->cpu, size, &cpus);
+ CPU_ZERO_S(ncpus, cpus);
+ CPU_SET_S(tip->cpu, size, cpus);
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends
2013-04-15 14:53 [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends Nathan Zimmer
` (3 preceding siblings ...)
2013-08-01 18:11 ` Jens Axboe
@ 2013-08-02 12:43 ` Nathan Zimmer
4 siblings, 0 replies; 6+ messages in thread
From: Nathan Zimmer @ 2013-08-02 12:43 UTC (permalink / raw)
To: linux-btrace
On 08/01/2013 01:11 PM, Jens Axboe wrote:
> On Thu, Aug 01 2013, Jens Axboe wrote:
>> On 07/30/2013 01:29 PM, Nathan Zimmer wrote:
>>> On 04/16/2013 01:02 AM, Jens Axboe wrote:
>>>> On Mon, Apr 15 2013, Nathan Zimmer wrote:
>>>>> While looking for issues at 4096 cpus I noticed that blktrace was
>>>>> behaving
>>>>> oddly. Upon reviewing I discovered some parts of the code were
>>>>> written at at
>>>>> time when boxes were limited to 512 and holes in cpu maps were
>>>>> impossible.
>>>>>
>>>>> This patch series should correct that.
>>>> Thanks Nathan. I reviewed all 5 and have applied them.
>>>>
>>> Have you pushed the patches lately?
>>> I checked the public branch git://git.kernel.dk/blktrace.git and I
>>> didn't see my changes.
>> I wonder if I applied and forgot to push them out. Unfortunately my
>> workstation is in transit at the moment. But I can just re-apply here
>> and get it pushed out, sorry about that.
> Doesn't work so well for me:
>
> gcc -Wall -W -O2 -g -I. -I.. -I../btt -D_GNU_SOURCE -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITSd -UCOUNT_IOS -UDEBUG -DNDEBUG -c -o btreplay.o
> btreplay.c
> btreplay.c: In function ‘pin_to_cpu’:
> btreplay.c:554:2: error: request for member ‘__bits’ in something not a
> structure or union
>
> CPU_SET_S(tip->cpu, size, &cpus);
>
> This should do it:
>
> - CPU_ZERO_S(ncpus, &cpus);
> - CPU_SET_S(tip->cpu, size, &cpus);
> + CPU_ZERO_S(ncpus, cpus);
> + CPU_SET_S(tip->cpu, size, cpus);
>
Yea that seems to. Thanks
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-08-02 12:43 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 14:53 [PATCH 0/5] Improve scaling and hotplugging tolerance in blktrace and friends Nathan Zimmer
2013-04-16 6:02 ` Jens Axboe
2013-07-30 19:29 ` Nathan Zimmer
2013-08-01 15:43 ` Jens Axboe
2013-08-01 18:11 ` Jens Axboe
2013-08-02 12:43 ` Nathan Zimmer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).