[stgt] tgtd memory usage
Степан Фёдоров
stepan.fedorov at clodo.ru
Fri Mar 25 15:15:46 CET 2011
I build tgt-1.0.14, and create 6 targets with 100 LUNs per target on
it. tgtd process virtual size id 20.0Gb, against 24Gb with ~500 LUNs
on tgt-1.0.13
25 марта 2011 г. 11:54 пользователь Tomasz Chmielewski
<mangoo at wpkg.org> написал:
> On 24.03.2011 02:45, FUJITA Tomonori wrote:
>>
>> On Wed, 23 Mar 2011 17:37:53 +0300
>> Степан Фёдоров<stepan.fedorov at clodo.ru> wrote:
>>
>>> My iSER target node has 24Gb of memory. When i add about ~500 LUNs
>>> with tgtadm, next i got error "tgtadm: out of memory".
>>>
>>> 24Gb/500 LUNs == "something about 50 megabytes of memory per LUN".
>>>
>>> My question is: how can i control this memory usage, and is there
>>> ability for me to add about 3500 LUNs on my node with 24Gb of memory?
>>
>> What version of tgt you use? x86-64 or x86?
>>
>> I suspect that you hit the number of threads that a single process can
>> have.
>>
>> The amount of system memory can't do anything for it.
>
> What are the options to have it worked around (long term, in tgtd code)?
>
> Is preforking a new tgtd process if X threads are reached an option?
>
>
> --
> Tomasz Chmielewski
> http://wpkg.org
>
> --
> To unsubscribe from this list: send the line "unsubscribe stgt" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list