The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
30 views

Will noatime on a tmpfs volume improve performance?

I am using /run/shm/myfolder for nginx micro caching, also keeping ngx_pagespeed files there. I am wondering if there will be a speed increase if I go from relatime to noatime? It's for HDD, but on a ...
0
votes
1answer
151 views

php script can't access /tmp folder

I have no open_basedir, php can access /etc /usr /proc /home etc… but not /tmp. tmpfs is mount on /tmp (/tmp type tmpfs (rw)) That's also the reason I want to use the /tmp folder. My files are owned ...
1
vote
2answers
159 views

start mysql service after syncing data dir to tmpfs

hej there! I'm maintaining a network of 8 Pandaboards. One of them is acting as server to host a php-based browser game, others are clients running that game. The server runs Debian Wheezy from SD ...
1
vote
3answers
59 views

tmpfs - auto create whole path when write to file

I have mounted tmpfs .e.g. /tmspfs/cache As we expect, so after restart server is ram empty and all content from mount is away. It is ok. But I have in my system some full path e.g. ...
0
votes
1answer
51 views

Re-ocurring issue with keys on temp tables

We run a large forum with lots of reads and writes, particularly to the posts and topics tables which are both innodb. Last week I started doing 12 hourly backups with innobackupex because mysqldump ...
3
votes
1answer
112 views

df shows too much space on tmpfs

I have a server (SLES 11 running on a VMware hypervisor if that matters) with a tmpfs partition meant for mysql temporary tables, and I run mysql chrooted. df -h gives me strange outpupt: ...
3
votes
4answers
2k views

Performance difference between ramfs and tmpfs

I need to setup an in memory storage system for around 10 GB of data, consisting of many 100 kb single files(images). There will be lots of reads and fairly periodic writes(adding new files, deleting ...
0
votes
0answers
69 views

lvextend onto a ramdisk or tmpfs

I want to be able to run system image backups of my root partition without downtime. I've read that I can use LVM snapshots and dd to create such images, but my current lvgroup has no unallocated ...
0
votes
0answers
36 views

tmpfs is getting unmounted somehow

I have reinstalled Ubuntu 12.04 onto my OpenVZ VPS. I downloaded the teamspeak server and installed it via the instructions here. I added the line to /etc/fstab: tmpfs /dev/shm tmpfs defaults ...
2
votes
1answer
59 views

Is there anything wrong with making your documentroot tmpfs, if you've got the ram to spare?

As the title says, it strikes me that if I have an old mason webapp which is basically a few hundred perl scripts and components on disk, would it not run quicker if I made the documentroot a tmpfs? ...
0
votes
3answers
294 views

qemu don't start quest with disk image on tmpfs

I have 32bit windows 2k3r3 guest (terminal server) with 4GB guest ram and swapping. I created separate disk image for guest swapping and user's temp dirs. I have enouth RAM in host system and want ...
0
votes
1answer
56 views

Unalterable folder or path to keep a mount point on Linux

I need to mount a tmpfs on a folder like /home/mysite.com/cache but this folder can be delete or changed by a user, but I don't want that the mounted filesystem become broken. Then if the user moves ...
1
vote
0answers
206 views

Is there ever a reason to use tmpfs instead of or in addition to zRAM?

I'm thinking about using zRam on my server. From what I've read about zRam, it apparently does everything tmpfs does and more. Once zRAM is working, is there any reason to keep tmpfs around? Is there ...
0
votes
0answers
155 views

Is there a way I can benchmark tmpfs

I created a tmpfs which was mounted at /ramdisk using the mount command.And I tried to benchmark this tmpfs using something like this: hdparm -tT /ramdisk And I was told that /ramdisk is a ...
2
votes
2answers
786 views

Low on space in /run

On Ubuntu Precise, I'm low on space in /run: admin@foo:~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 19G 6.6G 12G 38% / udev 10M 8.0K 10M 1% /dev ...
-1
votes
1answer
846 views

How to speed up a MySQL Import [closed]

I posted a related question on askubuntu.com, but this may be a better place and way to ask it. I'm working on a way to speed up a db import. Currently the import is taking a week, give or take a few ...
1
vote
0answers
102 views

MySQL binlog rsync from tmpfs to HDD causes write slowdown on ramdisk

I have a mysql database server and am testing writing my binlogs to ramdisk to speed some things up. A curious thing happens.. fairly often, I get major job slowdown at the same time the rsync is ...
3
votes
2answers
2k views

tmpfs fills up, although hardly used. How can I debug this

I have a system with / on tmpfs. Most / subdirectories have aufs mounted overlaying the read-write root filesystem with read-only base filesystem (the system boots from a read-only medium). Earlier, I ...
2
votes
1answer
2k views

Using tmpfs + a very large swap partition for /tmp instead of a regular filesystem?

I have Linux server and I have a spare 500GB disk partition. I wanted to format it and use it for /tmp. The server occasionally runs some large data processing tasks so it can happen that /tmp will ...
0
votes
1answer
111 views

shared memory in interprocess communication

i have studied that for process to communicate with each other they need to keep their critical region in shared memory,so that other process which needs access to that can use it,using different ...
0
votes
2answers
399 views

Creating tmpfs file system in xen server to store VM

i want to create a tmpfs file system for one of my vm to run on,using XEN Server. On the host machine i tried this but is not working,. xe sr-create device-config:device=/dev/shm name-label="RAM" ...
4
votes
1answer
270 views

How to select Linux temp/tmp/temporary directory overflow disk

On linux, temporary files are stored on a ramdisk: tmpfs 15G 4.0K 15G 1% /dev/shm However, if there are several large files in /tmp/ I would assume that the files overflow ...
0
votes
1answer
391 views

tmpfs changes size on restart

I have a tmpfs mount defined in my /etc/fstab with a size of 1024m, but when I restart the server it sizes itself to 5.9G. If I run mount -o remount /dev/shm, the size will correct itself to 1G. But ...
2
votes
2answers
1k views

monitor IO to tmpfs partition?

How can I monitor the write speed to a tmpfs partition. It does not appear in the output of vmstat or iostat. I am running several python processes that are writing heavily to tmpfs and contributing ...
1
vote
1answer
710 views

Create variable sized RAM-backed file systems (Ext4 and Btrfs)

For benchmarking purposes I need to format and mount variable sized ram-backed block devices with Ext4 and Btrfs. Unfortunately the only solution I have come across uses ramdisks which seem to be ...
2
votes
1answer
192 views

Speeding up page load times by using tmpfs

I have a Wordpress site which uses a file cache to store various object information. Now I would like the time to access the data in the cache to be much shorter, and I have heard various people on ...
0
votes
2answers
1k views

CentOS default installation gave about 60% of memory space to the tmpfs partition - Is this an issue?

I installed a CentOS server which will be used for xen hypervisor. The server has two Intel(R) Xeon(R) CPU E5620 and 148G memory. The OS was installed on a 120G SSD drive. After the installation, I ...
1
vote
2answers
645 views

best ramdisk without swap on linux?

I want a ramdisk on linux. There is ramfs and tmpfs. Tmpfs is what I want because it acts like a disk (size limits, etc.). However, it uses swap which means it may touch disk if it gets full. IF I ...
0
votes
1answer
538 views

Very Slow tmpfs Read/Write speeds

I have attempted to use a tmpfs to speed up some heavily accessed files. I wanted to test the read and write speeds of both the HDD its self and a tmpfs. My results where strangely low for what I was ...
3
votes
1answer
450 views

Best Way to store sessions in a High Availability / High Performance way in Multiple Server Environment

I have an application (Magento) that has an abstracted session storage layer. I'm trying to visualize the best way to store sessions. mysql Database? I'm thinking a dedicated database with a very ...
-1
votes
3answers
1k views

Linux tmpfs having no effect on performance!

In order to speed up JBoss startup and use, I copied the contents of my <jboss-home> dir to a big enough tmpfs 'disk'. With this, I was expecting significant speedup. However, to my surprise, ...
0
votes
1answer
177 views

TMPFS Available space does not equal Size of drive

I have a quick question. I have a 64bit Ubuntu 10.04 server with 24GB of RAM and is used as a VMWare Workstation 7.1 host. I would like to use an in-memory drive for the VM Memory location, which I ...
6
votes
2answers
292 views

Can a tmpfs become fragmented?

Since a tmpfs exists only in memory, can it become fragmented like memory can? Are there mechanisms to automatically defragment the memory, and thus increase - even slightly - the access speed of ...
3
votes
5answers
2k views

Improving Exim performance: mounting message queue on RAMdisk

I have an email server that's part of a messaging application, and it's going to see a lot of throughput. I want to mount Exim's message queue on a RAMdisk to maximize performance; throughput speed ...
0
votes
2answers
631 views

Failover tmpfs mirroring. Am I doing it right?

My goal is to have a certain directory to be available as tmpfs. There will be some modifications during server uptime in this dir and those modifications must be synced to non-tmpfs persistent dir on ...
0
votes
3answers
444 views

Tmpfs for mysql tmp

I have a question tmpfs. I would like to use it for mysql tmp. My question is next: If my server crash, data in /tmp are deleted (it's the tmpfs rule) so mysql cache tables are deleted. So, if my ...
2
votes
1answer
1k views

MySQL & tmpfs : performance

I was wondering if, and how much, using tmpfs could improve MySQL performance and how it should be done ? My guess would be to do mount -t tmpfs -o size=256M /path/to/mysql/data/DatabaseName, and to ...
3
votes
2answers
955 views

RHEL5: Can't create sparse file bigger than 256GB in tmpfs

/var/log/lastlog gets written to when you log in. The size of this file is based off of the largest UID in the system. The larger the maximum UID, the larger this file is. Thankfully it's a sparse ...
6
votes
2answers
5k views

What can cause an increase in inactive memory and how to reclaim it?

I have heavy application running on a CentOS server and I'm seeing a strange memory behavior. Here is a snapshot of a munin graph: As you can see the amount of committed memory increases gradually ...
1
vote
1answer
908 views

memcached vs. tmpfs

Are there any advantages of using memcached locally over using a mounted tmpfs? Maybe, when the memory-caching system resides on the same host, it's better to use file hierarchy on tmpfs which gives ...
4
votes
3answers
6k views

What is the use of /lib/init/rw in Debian?

I just installed Debian 5 (Lenny) and I noticed that /lib/init/rw is reported as a RAM Disk (tmpfs). I've only had experience with Fedora so I'm curious what function does that directory serve in ...