Re: [RFC+PATCH] Infiniband hfi1 + PREEMPT_RT_FULL issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2017-09-26 14:10:52 [+0000], Marciniszyn, Mike wrote:
> > My first question would be: is disabling preemption here really
> > necessary?
> > 
> 
> The motivation for the preempt manipulation has nothing to do with the counter.
> 
> The buffer allocation returns a set of ringed write-combining 64B MMIO buffers.   The allocate lock is then dropped right after allocation to allow parallel allocates.
> 
> The hardware keeps track of the buffer fill across multiple CPUs, so that after the oldest buffer is copied the ring is advanced.
> 
> The idea was to minimize the time from the drop of the allocate lock to the end of the copy to insure the highest rate of copy to the ring from multiple cores.

So on -RT we would like to get rid of that preempt_disable() section. Do
you have any numbers that say that this does any good?
If so, by how much and how much does is differ compared to a !PREEMPT
kernel if I may ask.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux