I thank everyone for the answers, thanks!

On Wed, Jul 29, 2009 at 2:36 AM, Manish Katiyar<[email protected]> wrote:
> On Wed, Jul 29, 2009 at 10:08 AM, Mulyadi
> Santosa<[email protected]> wrote:
>> On Wed, Jul 29, 2009 at 4:06 AM, Darvin Denmian<[email protected]> 
>> wrote:
>>> Hello,
>>>
>>> My question is about tmpfs:
>>>
>>> -> If i increase the number of "inodes" avaliable in a tmpfs mounted
>>> directory, will i have some performance impact?
>>>
>>> # Before increase number of inodes
>>> df -i /media/queue
>>> tmpfs                 129384    4229  125155    4% /media/queue
>>>
>>> # After increase number of inodes
>>> tmpfs                2048000    4229 2043771    1% /media/queue
>>>
>>> Sorry for my Brazilian English :(
>>
>> I think no. AFAIK, number of inodes just tell you how many file you
>> can make (since one inode represents the metadata of a file).
>>
>> However, IMO, depending on average file size you will create there,
>> having more inodes doesn't mean you can cram more files into your
>> tmpfs based directory. So it's more like balancing between inodes,
>> predicted number of file and storage size. By default, mount do this
>> for you.
>
> Yes... In general increasing number of inodes shouldn't affect
> performance unless you are going to pre-allocate space for that many
> inodes on disk (things like expanding your bitmaps and other metadata
> stuff).
>
> Thanks -
> Manish
>
>
>>
>> CMIIW people
>>
>> --
>> regards,
>>
>> Mulyadi Santosa
>> Freelance Linux trainer
>> blog: the-hydra.blogspot.com
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to [email protected]
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>>
>
>
>
> --
> Thanks -
> Manish
>
> --
> To unsubscribe from this list: send an email with
> "unsubscribe kernelnewbies" to [email protected]
> Please read the FAQ at http://kernelnewbies.org/FAQ
>
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to