Monthly Archives: July 2015

Short C++ Notes on check if a file exists, string concatenation, vector

Short C++ Notes on check if a file exists, string concatenation, vector

Posted in Tools | Tagged | Leave a comment

What graphs did people use in benchmarking graph algorithms

This is my post summarizing what graphs did people use in publications for graph frameworks. I looked through Galois, Ligra and Intel GraphMat, GraphX.

Posted in High Performance Computing | Tagged | Leave a comment

How to execute shell command in Python and a quick note on Python Popen

This is a quick note on how to execute shell commands in Python and construct arguments for Popen in subprocess module in Python. It bothered me for a while and I just recently figured out parts of it.

Posted in Tools | Tagged | 1 Comment

NUMACTL, taskset and other tools for controlling NUMA accesses notes

This is a note summarizing the things I learned about the usage of NUMACTL, taskset, libnuma. This feature can be potentially important for running parallel programs on NUMA architectures.

Posted in Tools | Tagged | 1 Comment

Measure memory bandwidth using uncore counters

This is a post summarizing how to accurately measure memory bandwidth with uncore counters. It is believed to be more accurate than LLC_MISS * 64 bytes (size of cache line) because the LLC_MISS counter would not include prefetch misses. This … Continue reading

Posted in Tools | Tagged | 2 Comments

Some notes on writing Python script that involves background execution, kill signals

Notes from writing a python script that involved sending kill signals, wait for reaping child processes and other unix utilities.

Posted in Tools | Tagged | 1 Comment

tpch data set features

This is a post summarizing some of the features of tpch data sets generated by the tpch data generator (http://www.tpc.org/information/current_specifications.asp). This post will keep getting updated as I get to play with more tables in the tpch benchmark.

Posted in Database | Tagged | Leave a comment

C and C++ basics, dereference, memory operations on struct pointers

I have looked into pointers for structs and the difference between declare something as a struct and struct pointer. This is a post summarizing what I have learned through discussions with multiple friends.

Posted in Tools | Tagged | Leave a comment

How to read file line by line and split each line with custom delimiter in C++

This is a post summarizing my experience working with C++ file I/O API and standard library on how to split a string with a delimiter.

Posted in Tools | Tagged | Leave a comment

Force PAPI to compile with gcc

I was trying to compile PAPI (http://icl.cs.utk.edu/papi/) on linux machine. The problem is that I have both icc and gcc installed. There are some issues with icc. As a result, I wanted to force building PAPI with gcc instead of … Continue reading

Posted in Tools | Tagged | Leave a comment