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.

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

Reply via email to