This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% Throwaway to investigate how long gzipping a logfile freezes out | |
%% other processes. | |
%% | |
%% Typical run | |
%% ----------- | |
%% | |
%% /usr/local/src/otp_src_R14B03/bin/erl -smp disable -s schedule go -s init stop | |
%% This leaves a logfile, 'erlang_timestamps.txt' which shows that the | |
%% 'sleeper()' process doesn't get any CPU time for about 700 milliseconds. | |
%% Ideally, sleeper() gets CPU every 10 ms or so. |