summaryrefslogtreecommitdiff
path: root/sys/src/cmd/9660srv/iobuf.c
AgeCommit message (Collapse)Author
2015-07-149660srv: keep data and metadata separate in the cache with a tagcinap_lenrek
data on the disk is layed out sequentially and directory information is at the end of the disk. we want to keep data and metadata separated so that reading large sequential files will not evict the directory information from the cache causing long seeks. for that, we tag the clusters (an 8th for metadata, and the rest for data) and getbuf() will only evict clusters of the same tag.
2015-07-139660srv: go back to 128k clusterscinap_lenrek
doing tests taring up 9front.iso shows the following: lowering the cluster size back to 128k avoids over half the reads. 837888 sectors read for 512k vs. 347712 sectors with 128k cluster size.
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen