8000 GitHub - multippt/numa: NUMA is a utility library, which is written in go. It help us to write some NUMA-AWARED code.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ numa Public
forked from lrita/numa

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

License

Notifications You must be signed in to change notification settings

multippt/numa

 
 

Repository files navigation

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
}

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 96.8%
  • Assembly 3.2%
0