write disk every 200 pages