From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] venti/fmtarenas approximate duration? In-Reply-To: <37008ea12e2342f5883967e918beebf0@plan9.bell-labs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Tue, 24 Jun 2003 08:43:36 -0600 Topicbox-Message-UUID: d93e8606-eacb-11e9-9e20-41e7f4b1d025 On Tue, 24 Jun 2003, Sape Mullender wrote: > echo dma on >/dev/sdCx/ctl > > will help a lot. > > Having said that, the initial snapshot of a 35 GB file system still took 40 hours > (but everything -- fossil, arenas, index -- was on one disk (a temporary > necessity to free up disk space elsewhere)). > following jmk's fix a fmtarenas on a 60gb arena took less than 30 minutes (more like 15, don't have exact numbers). fmtisect on a 3.04Gb index partition took about two minutes. this one i actually measured with iostats, but the numbers are strange: # iostats venti/fmtisect isect /dev/sdD0/isect clearing the partition configuring index section isect with space for index config bytes=65536 read 80863 bytes, 7.896778e+07 Kb/sec write 3273810527 bytes, 3.197081e+12 Kb/sec protocol 3287480890 bytes, 3.210431e+12 Kb/sec rpc 399684 count Message Count Low High Time Averg in out version 1 0 0 0 0 ms 19 19 bytes attach 1 0 0 0 0 ms 25 20 bytes walk 9 0 0 0 0 ms 259 293 bytes open 5 0 0 0 0 ms 60 120 bytes read 21 0 0 0 0 ms 483 81094 bytes write 399638 0 0 0 0 ms 3283002201 4396018 bytes clunk 8 0 0 0 0 ms 88 56 bytes stat 1 0 0 0 0 ms 11 81 bytes Opens Reads (bytes) Writes (bytes) File 1 0 0 2 95 (stderr) 1 0 0 399636 3273810432 /dev/sdD0/isect 1 21 80863 0 0 /bin/venti/fmtisect #