What is the issue you are facing?

You do not need to do anything special to enable Hugepages for Go.
Huge page size is a kernel property usually set at Kernel compilation time 
or set by your Linux Distribution.

Go does not care about what the underlying page size is, the page size is 
transparent to Go or any other application.

Unless, you are doing some kind of direct IO or memory mapped voodoo which 
require intricate knowledge where your page boundaries are.

Thanks,

On Monday, 4 September 2017 21:17:27 UTC-7, Linker Lin wrote:
>
> Hi, Guys!
> I have a lot of docker running go micro-services which have a big-heap.
> My question is how to make go work with hugepagesize in linux/amd64 ?
> Thanks,
>
> -- 
>
>
> *Regards,Linker linlinker...@gmail.com <javascript:>*
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to