🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #1220

CATS - *THANKS* (FFS), also more info on bug in Format, also nd.

#1220
From: Matt Dillon
Date: Mon, 11 Sep 1989 21:31
41 lines
1950 bytes
	I thought I was up the proverbial shit creek when I brought
    my 'nd' server up with a 5MB partition (that is, a 5MB file) because
    Seeking took forever (i.e. scanning the side sectors for random Seek()
    calls).

	It turns out that by specifying enough buffers  (~100 in this case),
    all the side sectors get cached and the FFS no longer needs to go to disk 
    to scan them.  So, thanks CATS for not caching data sectors!

	So now I have a working server-client ND type disk for a diskless
    Amiga over the parallel port.  BTW rewrote some stuff and am now getting
    12+K/sec instead of 9+K/sec.  A little code smoothing and I will post it
    to the moderator (Beta this time).

    (p.s. side sector = sector block pointer table)

				---

	Bug in format:  Apparently Format reads block 0 of the disk before
    it does anything.  Apparently if I put 'DOS\1' all through block 0
    Format doesn't crash.  Before block 0 was simply cleared (all zeros) and
    Format would either give up with some error or crash.

	Format isn't supposed to do that ...

				---

    DiskPerf results are now (5MB FFS partition)

	create 4 files/sec, delete 8 files/sec
	directory scan: 100 entries/sec
	seek/read test:  23 seek-reads/sec

					bytes/sec	bytes/sec
	r/w speed, 512 byte buffer,	read: 10699	write: 9395
	r/w speed, 4096 byte buffer,	read: 12663	write: 12024
	r/w speed, 8192 byte buffer,	read: 12850	write: 12307
	r/w speed, 32768 byte buffer,	read: 12725	write: 12365

				-Matt
Technical Details
Message-ID: <8909112131.AA05003@postgres.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!POSTGRES.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!POSTGRES.BERKELEY.EDU!dillon
From: dillon@POSTGRES.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga.tech
Subject: CATS - *THANKS* (FFS), also more info on bug in Format, also nd.
Message-ID: <8909112131.AA05003@postgres.Berkeley.EDU>
Date: 11 Sep 89 21:31:48 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 41