Awesome Go

numa

CategoryMiscellaneous
SubcategoryUncategorized
Stars0

NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code

About numa

NUMA

Build Status GoDoc codecov Go Report Card

NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.

example gist:

package main

import (
	"github.com/lrita/numa"
)

type object struct {
	X int
	_ [...]byte // padding to page size.
 }

var objects = make([]object, numa.CPUCount())

func fnxxxx() {
	cpu, node := numa.GetCPUAndNode()
	objects[cpu].X = xx
}

Frequently Asked Questions

What is numa?

numa is a Miscellaneous library for the Go programming language. NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code

How do I install numa?

Install numa with the Go module system using `go get lrita/numa`. Check the repository for the current installation instructions.

What category does numa belong to?

numa is listed under Miscellaneous, specifically Uncategorized.

← Back to Uncategorized