Re: [PATCH] cyclictest: Delay setting of main_affinity_mask after creating threads.

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

 





On 6/15/22 17:22, Sebastian Andrzej Siewior wrote:
On 2022-06-15 17:18:55 [+0200], Pierre Gondois wrote:
If this is *that* important I would lean towards always doing the
globalt_barr so all threads start once everything is set up. If I
remember correctly, the first few cycles are not counted and just fill
the cache.

Ok yes, I didn't see the globalt_barr barrier. FWIW I tested
the patch and it works well.

The globalt_barr isn't enabled by default. If that is important then I
recommend doing this by default. I can post patch if you want me to.

Starting all the threads at the same time seems sensible to me,
but I don't have any numbers to prove this is useful.



Regards,
Pierre

Sebastian



[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