Re: Real-time kernel thread performance and optimization

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

 



Hi John,

[..]
If running a half-decent version of cyclictest, sleep states are generally
disabled while cyclictest is running. Please watch the line
   # /dev/cpu_dma_latency set to 0us
which essentially documents this mechanism. Yes, the name of the variable
"cpu_dma_latency" is not obvious and cyclictest could do a better job by
writing
   Wrote 0 to /dev/cpu_dma_latency and keeping the path open to prevent
   all cores from entering any sleep state
but this is another story.
Not sure what you mean here, doesn't it keep the path open?
No, no, cyclictest does the right thing and keeps the path open as required. This is all good.

The message "/dev/cpu_dma_latency set to 0us" apparently is not clear enough. It has nothing to do with DMA but the purpose of setting the kernel variable cpu_dma_latency to 0 is to generally disable sleep states. But I better should have submitted a patch.

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


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux