🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Steven L. Sesar Wed, 07 Nov 2001 22:18
raw/block device confusion re CNFS
#55027
Author: Steven L. Sesar
Date: Wed, 07 Nov 2001 22:18
22 lines
1917 bytes
The docs are a bit vague. I am running Solaris8 (64bit). I understand
from a performance perspective that using raw devices is best. However,
in cycbuff.conf, and elsewhere, it tells us to create block devices.
Which is correct?

[newssrv1]-/usr/local/news/db$ ls -l /cycbuff
total 0
brw-r--r--   1 news     news      32, 72 Nov  7 16:49 c0t10d0s0
brw-r--r--   1 news     news      32, 48 Nov  7 16:49 c0t6d0s0
brw-r--r--   1 news     news      32, 56 Nov  7 16:50 c0t8d0s0
brw-r--r--   1 news     news      32, 64 Nov  7 16:46 c0t9d0s0

or:

[newssrv1]-/usr/local/news/etc$ ls -l /devices/pci@1f,4000/scsi@3/

crw-------   1 news     news      32, 64 Nov  7 16:28 sd@9,0:a,raw
crw-------   1 news     news      32, 64 Nov  7 16:28 sd@9,0:b,raw
crw-r-----   1 news     news      32, 72 Nov  7 16:28 sd@a,0:a,raw
crw-r-----   1 news     news      32, 72 Nov  7 16:28 sd@a,0:b,raw

Re: raw/block device confusion re CNFS
#55030
Author: Andrew Gierth
Date: Thu, 08 Nov 2001 00:43
23 lines
1995 bytes
>>>>> "Steven" == Steven L Sesar <ssesar@rcn.com> writes:

 Steven> The docs are a bit vague. I am running Solaris8 (64bit). I
 Steven> understand from a performance perspective that using raw
 Steven> devices is best. However, in cycbuff.conf, and elsewhere, it
 Steven> tells us to create block devices.  Which is correct?

There's some confusion here and in the INN docs over the term "raw"
devices. Specifically, the docs are using the term "raw" to mean "disk
partition accessed directly (via the block device) rather than via a
filesystem", rather than "disk character device" (which is the more
usual usage of "raw").

For INN, if you want to use a non-filesystem disk partition as a CNFS
cycbuff, you should only use block devices. character devices will
either not work or will perform abysmally.

(Only software specifically written to use character devices will get
any sort of performance advantages from them, and INN doesn't qualify.)

-- 
Andrew.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads