The problem is this application is a quite big Golang project. It has about 500, 000 lines of Golang codes and didn't even count these required 3-rd party libraries.
On Sunday, September 19, 2021 at 8:47:44 AM UTC+8 rmfr wrote: > One of our Golang applications has a very huge binary size and the size of > the .text segment itself in the elf is approximately *34MB*. The iTLB > load miss reaches about *87%* of all iTLB cache hits. > > >> Is there any advice for big Golang applications to reduce the iTLB > cache miss? Two solutions come to me, PGO > <https://en.wikipedia.org/wiki/Profile-guided_optimization> and using > hugepages to load the .text segment. But they are both seem very difficult > to implement in Golang. > > > Shot in the dark: is the application running next to some other > application on the hardware which wipes the TLB? > > Nope, it occupies a standalone x86 physical server. > >> -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/12a18e2b-e860-4ee5-8c64-8b5801dce3f9n%40googlegroups.com.