This blog serves as a dumping ground for my own interests. On it you will find anything which I want to keep track of; links, articles, tips and tricks. Mostly it focuses on C++, Javascript and HTML, linux and performance.
Thursday, 27 September 2012
NUMA local PCI-Express interfaces
With Sandybridge PCI-Express slots are now local to a particular socket and therefore NUMA node.
If you're connecting to a specific NIC then it makes sense to make sure you're on the same NUMA node as the NIC is, thereby preventing having to shuttle data over the QPI between the kernel buffers and your user-space buffers.
Details on what NUMA nodes a particular NIC is on can be found as follows:
/sys/class/net/eth0/device $ cat numa_node
0
/sys/class/net/eth0/device $ cat local_cpus
00005555
/sys/class/net/eth0/device $ cat local_cpulist
0,2,4,6,8,10,12,14
Monday, 24 September 2012
Open BEAGLE - open source genetic programming framework
Open BEAGLE is a C++ Evolutionary Computation (EC) framework. It provides an high-level software environment to do any kind of EC, with support for tree-based genetic programming; bit string, integer-valued vector, and real-valued vector genetic algorithms; and evolution strategy
http://code.google.com/p/beagle/
http://code.google.com/p/beagle/
Friday, 21 September 2012
Using rsync to show progress whilst copying
rsync -r -v --progress -e ssh username@hostname:/source destination
Mount USB drive by label
$ sudo mount /dev/disk/by-label/volume_name /mnt/mount_point -t auto
Subscribe to:
Posts (Atom)