Skip to content

Instantly share code, notes, and snippets.

View bhomaidan1990's full-sized avatar
🐐
Trying . . .

Belal Hmedan bhomaidan1990

🐐
Trying . . .
  • somewhere
  • someplace
View GitHub Profile
@zrruziev
zrruziev / NUMA node problem.md
Last active June 24, 2024 12:42
Fixing "successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero" problem

What is NUMA (Non-Uniformed Memory Access)

Non-Uniform Memory Access (NUMA) is one of the computer memory design methods used in multiprocessor systems, and the time to access the memory varies depending on the relative position between the memory and the processor. In the NUMA architecture, when a processor accesses its local memory, it is faster than when it accesses the remote memory. Remote memory refers to memory that is connected to another processor, and local memory refers to memory that is connected to its own processor. In other words, it is a technology to increase memory access efficiency while using multiple processors on one motherboard. When a specific processor runs out of memory, it monopolizes the bus by itself, so other processors have to play. , and designate 'access only here', and call it a NUMA node.

1. Check Nodes

lspci | grep -i nvidia
  
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060 12GB] (rev a1)
@madelinegannon
madelinegannon / setup-azure-kinect-on-jetson-x-nx.md
Last active June 17, 2024 20:40
Notes on Setting up the Microsoft Azure Kinect on Ubuntu 18.04
@minshallj
minshallj / foo.js
Last active March 13, 2023 18:28
roslibjs example
//* The Ros object, wrapping a web socket connection to rosbridge.
var ros = new ROSLIB.Ros({
url: 'ws://localhost:9090' // url to your rosbridge server
});
//* A topic for messaging.
var exampleTopic = new ROSLIB.Topic({
ros: ros,
name: '/com/endpoint/example', // use a sensible namespace
messageType: 'std_msgs/String'
@endolith
endolith / output.png
Last active May 21, 2024 23:58
Detecting rotation and line spacing of image of page of text using Radon transform
output.png