Colleagues. There is absolutely no problem with disk IO. wc -l and erlang file:read both take about 100-200 ms to read whole file. Problem is in handling this data and parsing.