D
Deleted member 43773
Guest
Background:
I'm thinking of moving /var into a RAM-disk.
(" FreeBSD and Solid State Devices " explains how it may work and why it could be not a bad idea)
For me it seems it may gains a small bit additionally performance - if one have enough RAM (64G) it's at least worth a try.
However, for Traditional Split File System Partitions HB 2.6.3 recommends 2G for /var.
On my systems so far I have no own partition neither own drives nor quotas for /var.
Here my question:
What happens if /var runs out of space?
On a 2G partition this already would have been the case on my systems.
Will the system just delete old stuff or move it elsewhere (e.g. some kind of /usr/.../archive/old/garbage/...)?
Or to put it another way:
I know the system is not actually writing all data immediately to disk but buffers it and writes it if it's a good opportunity (there are buffers to be synchronized as far as I understood), and also the amount of data for /var is not really large,
but is there any possibility or tool to measure the actual average read/write-load over a couple of hours, a day or two, or do I need to run a script via cron counting bytes?
For not to be misunderstood:
I don't want to make a benchmark test, measuring the possible maximum data transfer speed but the actual data load on a fs/drive while the system works.
I'm thinking of moving /var into a RAM-disk.
(" FreeBSD and Solid State Devices " explains how it may work and why it could be not a bad idea)
For me it seems it may gains a small bit additionally performance - if one have enough RAM (64G) it's at least worth a try.
However, for Traditional Split File System Partitions HB 2.6.3 recommends 2G for /var.
On my systems so far I have no own partition neither own drives nor quotas for /var.
#du -hs /var
shows me 5.4G, 15G ... anyhow significantly more than 2G on my systems.Here my question:
What happens if /var runs out of space?
On a 2G partition this already would have been the case on my systems.
Will the system just delete old stuff or move it elsewhere (e.g. some kind of /usr/.../archive/old/garbage/...)?
Or to put it another way:
I know the system is not actually writing all data immediately to disk but buffers it and writes it if it's a good opportunity (there are buffers to be synchronized as far as I understood), and also the amount of data for /var is not really large,
but is there any possibility or tool to measure the actual average read/write-load over a couple of hours, a day or two, or do I need to run a script via cron counting bytes?
For not to be misunderstood:
I don't want to make a benchmark test, measuring the possible maximum data transfer speed but the actual data load on a fs/drive while the system works.