On Nov 14, 2023, at 3:03 AM, Lourens Veen <l.v...@esciencecenter.nl> wrote:
Hi Xinyan,If this is a small simulation, then you may be seeing a cache effect. As you add more cores, you're also adding more L1 cache, which is fast memory close to each core. If your system is, say, 10x the size of a single core's worth of L1 cache, then with 9 cores almost all of it will fit in L1, while with a single core most of it will be in slower memory, L2 or even L3 probably. The Wikipedia article is pretty good:https://en.wikipedia.org/wiki/Cache_hierarchyBest,LourensFrom: hoomd...@googlegroups.com <hoomd...@googlegroups.com> on behalf of Xinyan Yang <xinyanya...@gmail.com>
Sent: Tuesday, November 14, 2023 1:55
To: hoomd-users <hoomd...@googlegroups.com>
Subject: [hoomd-users] superlinear speedup?
Hi,I did a strong scaling test for the MPI version of HOOMD.4.3.0. The strong efficiency is defined as T1/(N TN)*100%. T1 is the time elapsed when I ran the HPMC simulation with 1CPU. TNis the time cost by N CPUs. The systems are the same. I just changed the number of cores. I expected to see a decreasing trend of the strong efficiency as I increase the number of cores used in the simulation. However, I got an increasing trend, and the strong efficiency is >100%, see the screenshot below. I don't think the system noise could make such a difference. Did HOOMD.4.3.0 use any superlinear speedup?
<Screen Shot 2023-11-13 at 6.51.49 PM.png>Best,Xinyan--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/c09bbab0-9561-4658-b82e-adae8290d82dn%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hoomd-users/DB4PR08MB8029B2EBDA386AAE784EB2DF96B2A%40DB4PR08MB8029.eurprd08.prod.outlook.com.