Speed up zgrep on a multi-core computer
Or symlink /usr/local/bin/{gzip,gunzip} to respective binaries since that is likely to be in PATH before /usr/bin $ sudo ln -s /usr/bin/pigz /usr/local/bin/gzip $ … Read more
Or symlink /usr/local/bin/{gzip,gunzip} to respective binaries since that is likely to be in PATH before /usr/bin $ sudo ln -s /usr/bin/pigz /usr/local/bin/gzip $ … Read more
We ran into this issue when connection issues from the mongo client (java) get interrupted (it seems by the AWS network). With TCP_KEEPALIVE … Read more
unpigz (and untar) to a specific directory
Light-weight processes don’t have a task_struct; a stack and a small amount of information would be enough. Several LWPs share the same task_struct, … Read more
Is vim multithreaded?
Try ab, you get a nice statistic too: ab -n 10000 -c 70 http://www.betaservice.domain.host.com/web/hasChanged?ver=0 This call will do 10000 requests with concurrency of … Read more
Multi-Threading/Forking in a bash script
It’s just a difference in presentation. Look at the LWP column on your ps output — LWP is LightWeight Process. The kernel can … Read more
Use multi-threaded make by default?
8MB is the virtual size of the stack. A page fault will happen when your application tries to use more stack than is … Read more