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
@endolith
endolith / output.png
Last active October 20, 2024 09:39
Detecting rotation and line spacing of image of page of text using Radon transform
output.png
@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'
@madelinegannon
madelinegannon / setup-azure-kinect-on-jetson-x-nx.md
Last active November 3, 2024 19:40
Notes on Setting up the Microsoft Azure Kinect on Ubuntu 18.04
@zrruziev
zrruziev / NUMA node problem.md
Last active November 4, 2024 04:06
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)