logo       

Re: OutOfMem problem: msg#00242

Subject: Re: OutOfMem problem
From: Harald Kubota <hkubota@xxxxxxx>
Subject: [Iscsitarget-devel] OutOfMem problem
Date: Sun, 24 Jul 2005 23:48:25 +0900

> I got my hands on a small 'server' not constisting of much more than USB
> ports, an FastEthernet port, a SH4 CPU, 64MB of memory
> and a CF boot medium. It's originally supposed to be a Samba server for
> USB disks. And it does that job quite nicely.
> See http://www.iodata.jp/prod/storage/hdd/2004/usl-5p/index.htm
> 
> But this is hardly interresting, so the reason why I actually bought it,
> is to use it as a small iSCSI target.
> However I quickly run into a serious problem: ietd's memory usage.

Try "QueuedCommands" option.


For example:

Target iqn.2001-04.com.example:storage.disk2.sys1.xyz
        #Lun 0 Path=/dev/sdc,Type=fileio
        # Alias name for this target
        # Alias Test
        # various iSCSI parameters
        # (not all are used right now, see also iSCSI spec for details)
        #MaxConnections         1
        #InitialR2T             Yes
        #ImmediateData          No
        #MaxRecvDataSegmentLength 8192
        #MaxBurstLength         262144
        #FirstBurstLength       65536
        #DefaultTime2Wait       2
        #DefaultTime2Retain     20
        #MaxOutstandingR2T      8
        #DataPDUInOrder         Yes
        #DataSequenceInOrder    Yes
        #ErrorRecoveryLevel     0
        #HeaderDigest           CRC32C,None
        #DataDigest             CRC32C,None
        # various target parameters
        #Wthreads               8
        QueuedCommands          4


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click


<Prev in Thread] Current Thread [Next in Thread>