Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jan 1996 22:19:59 +0100
From:      se@zpr.uni-koeln.de (Stefan Esser)
To:        Dmitry Khrustalev <dima@bog.msu.su>
Cc:        hackers@freefall.freebsd.org
Subject:   Re: LUN support.
Message-ID:  <199601072120.AA01472@Sysiphos>
In-Reply-To: Dmitry Khrustalev <dima@bog.msu.su> "Re: LUN support." (Jan  6, 20:39)

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 6, 20:39, Dmitry Khrustalev wrote:
} Subject: Re: LUN support.
} > 
} > Does FreeBSD have support for LUN's?
} > 
} 
} Also, can anyone explain this?
} 
} ncr.c:123	#define	MAX_LUN		(1)

Well, this is because some code to 
be executed is replicated per LUN.

I.e. if you got a WIDE SCSI chip 
and thus support for 15 targets,
there are a total of 120 LUNs on
all possible targets. And it takes
some 100 bytes per /possible/ LUN
(or a total of some 10KB to 15KB
if MAX_LUN=8).

I'm going to change this (it is 
not too hard, actually), but for 
lack of spare time it will have to
wait ...

Since 10KB are some $0.30 worth of 
DRAM, I could just make 8 LUNs the
default now ...

Regards, STefan

-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601072120.AA01472>