[mythtv-users] sluggish system, potential HD failure, and how best to get back up and runnin

Hika van den Hoven hikavdh at gmail.com
Thu Mar 6 13:36:32 UTC 2014


Hoi Simon,

Thursday, March 6, 2014, 2:27:27 PM, you wrote:

> Hika van den Hoven <hikavdh at gmail.com> wrote:

>> But the default
>> size for tmpfs is quite small. I believe 8 Mb. If you set it higher
>> with ramdisk_size=xxx (in kb) it goes for all tmpfses.

> Actually, and I only know this because I was digging up information
> yesterday for my little box, the default is half the system memory -
> so 125M on my box with 1/4G RAM. You can specify on a per-filesystem
> basis with a "size=..." option to mount.
> From my little box's fstab :
> tmpfs           /tmp            tmpfs   defaults,size=25M           0 0
> tmpfs           /var/tmp        tmpfs   defaults,size=25M           0 0
> tmpfs           /run            tmpfs   defaults,size=5M,mode=0755  0 0
> tmpfs           /var/log        tmpfs   defaults,size=5M,mode=0755  0 0
> tmpfs           /run/lock       tmpfs   defaults,size=5M            0 0

> Top reports (shortly after clearing the caches) :
> top - 13:20:52 up 2 days,  3:20,  1 user,  load average: 0.08, 0.03, 0.05
> Tasks:  52 total,   1 running,  51 sleeping,   0 stopped,   0 zombie
> %Cpu(s): 15.6 us,  3.1 sy,  0.0 ni, 75.0 id,  0.0 wa,  0.0 hi,  6.2 si,  0.0 st
> KiB Mem:    254976 total,    64892 used,   190084 free,      172 buffers
> KiB Swap:        0 total,        0 used,        0 free,     7920 cached

> And df reports :
> Filesystem      Size  Used Avail Use% Mounted on
> tmpfs           5.0M  112K  4.9M   3% /run
> tmpfs           5.0M     0  5.0M   0% /run/lock
> tmpfs            50M     0   50M   0% /run/shm
> tmpfs            25M     0   25M   0% /tmp
> tmpfs            25M     0   25M   0% /var/tmp
> tmpfs           5.0M   24K  5.0M   1% /var/log

> I'm fairly confident that I've got things about right for this box :)

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


You're right, for me it was quit some time ago I looked into it.
And looking now into my system they are half the system memory. Probably
some change along the kernel defaults since I looked at it.
I stand corrected!

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens
--



More information about the mythtv-users mailing list