Linux Kernel Debugging Tricks
October 16, 2013HOWTO: ssh
October 13, 2013HOWTO: tmux
October 13, 2013Useful gnuplot related pages
July 1, 2013How to adjust brightness on my Samsung Laptop after installing NVidia driver
May 4, 2012After installing NVidia driver, you may not change LCD brightness.
You can fix this by simply adding the followings:
in /etc/X11/xorg.conf
Section “Device”
Identifier “Default Device”
Driver “nvidia”
Option “NoLogo” “True”
Option “RegistryDwords” “EnableBrightnessControl=1”
EndSection
Emacs Hints and Tips
April 6, 2012- Emacs 소개
- Using CSCOPE
- Emacs & CScope
- Emacs, GDB, ETAGS, CSCOPE
- Moving the Ctrl Key
- Emacs Wiki
- Setting up Emacs with OpenCL
- How to automatically insert template into header file
- Emacs 단축키 모음
- Emacs Hot keys
- Emacs for Mac OS, Key binding in Mac OS
- Emacs Code Browser
- ECB howto
- Go to history: “C-c . g h”
- Go to methods: “C-c . g m”
- Go to sources: “C-c . g s”
- Go to directories: “C-c . g d”
- Main buffer: “C-c . g 1”
- ecb-store-window-sizes
- How to set emacs’s user interface to modern conventions
Understanding Linux Graphics Stack
December 31, 2011- The Linux Graphics Stack
- The State of Linux Graphics
- Though it is written old, 2005, it describes the broad landscape of technologies incuding XAA, EXA, X Render, DRI, Mesa, XGL, EGL, and so on.
- More explanations on DRI and other jargons
- How to build and install full graphics stack from git
- You will learn where the packages are and how to install.
- Introduction to Gallium3D
- Gallium3D Wikipedia
- X.org Events
- X Developers’ Summit (XDS) and more
- How NVidia hardware works
- X.Org EVoC Work On Gallium3D OpenCL
- OpenCL 1.1 implementation on Gallium3D
- Accelerated OpenCL using Gallium3D
Installing Cuda on Ubuntu 11.10
December 30, 2011- Install gcc 4.4, g++ 4.4, and cpp 4.4.
- sudo apt-get install gcc-4.4 g++-4.4 cpp-4.4 build-essential
- Create symbolic links for gcc 4.4
- cd /usr/bin
- sudo mkdir gcc44
- cd gcc44
- sudo ln -s /usr/bin/gcc-4.4 gcc
- sudo ln -s /usr/bin/g++-4.4 g++
- sudo ln -s /usr/bin/cpp-4.4 cpp
- Install the nvidia drivers
- sudo apt-get install nvidia-current nvidia-current-dev nvidia-current-updates nvidia-current-updates-dev
- Download the current Cuda Toolkit and GPU Computing SDK for Ubuntu and the GPU Computing SDK, and save the .run files somewhere.
- chmod +x *.run
- sudo ./cudatoolkit_4.0.17_linux_32_ubuntu10.10.run
- Install with default options including paths
- ./gpucomputingsdk_4.0.17_linux.run
- Install where you want to play.
- For compiling the SDK examples, you also need to install
- sudo apt-get install freeglut3-dev libxi-dev
- sudo ln -s /usr/lib/libXmu.so.6 /usr/lib/libXmu.so
- sudo ln -s /usr/lib/nvidia-current/libGL.so /usr/lib/libGL.so
- Then go to the NVIDIA_GPU_COMPUTING_SDK_… folder. In the file C/common/common.mk change the line
- LINKFLAGS +=
- –>
- LINKFLAGS += -L/usr/lib/nvidia-current
- Add a following line at the end of /usr/local/cuda/bin/nvcc.profile
- compiler-bindir=/usr/bin/gcc44
- Make GPU computing SDK
- cd NVIDIA_GPU_COMPUTING_SDK_…
- make -j4 -i
- Set up $PATH and $LD_LIBRARY_PATH. Add the followings ~/.bashrc.
- export CUDA_HOME=/usr/local/cuda
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CUDA_HOME/lib
export PATH=$CUDA_HOME/bin:$PATH
- export CUDA_HOME=/usr/local/cuda
Enjoy!
IO Traces Available Online
August 18, 2011In researching a storage systems, the first step is to analyze the real world workload and verify if your insight makes sense in the real workload. Therefore, storage research community has been collected the workloads and made them accessible online.
- SNIA Traces
- Block IO Traces, NFS Traces, Parallel Traces, Static Snapshot, System Call Traces
- UMass Storage Repository
- OLTP Trace (write dominant), Web Search Trace (read dominant)
- SPC (Storage Performance Council) format
- The NOW Trace Collection Project
- Instructional Workload, Research Workload, Web Workload
- S-Clock before-cache trace
- “before-cache” storage access traces from a real Android smartphone
Useful LaTeX Tutorials
March 20, 2011LaTex is an useful tool to write a document with regular form.
It is especially useful for documents with mathatical notation, since it provides powerful funcationalities to express them.
Here are some online tutorials on LaTeX.
- Downloading kotex live.
- Installing git client on Windows.
- The Not So Short Introduction to LaTex2E
- LaTeX Wikibooks
- LaTex Spelling and Grammar Check
- Writing Hangul in LaTeX
- Biblatex
- BibTex and Natbib
- How to compile BibTex in TeXWorks
- Searching BibTex 1 2
- Describing Algorithms: algorithm Package, algorithmicx package, algorithm2e package
- Add TODO list in a draft
- Crop white space in a PDF file
- Beamer Tutorial, example
- How to change numbering style
- How to convert LaTeX to RTF format
- LaTeX on Ubuntu
- LaTex tips to meet publication page limits
- Squeezing Space in LaTeX
- No page numbering in a LaTex document
- Bold Typewriter font
- LaTeX for Math and Sciences