Questions tagged [cache]
cache is a component that stores data so future requests for that data can be served faster; the data stored in a cache might be the results of an earlier computation, or the duplicates of data stored elsewhere.
472
questions
1
vote
0
answers
9
views
Do executables in different containers share shared objects that are define in the same common image layer?
I am investigating the memory impact of containerising two processes that depend on the same shared object. My main question is whether the shared object will be loaded in memory twice or not.
This ...
0
votes
0
answers
15
views
`yum clean all` differs regarding handling disabled repositories
I'm porting some old build scripts from CentOS 7 to Rocky 8. I've noticed that the following command cleans all repository caches on Rocky 8, as opposed to just the caches of the one enabled ...
7
votes
4
answers
637
views
Simulate slow disks in KVM to see effect of LVM cache in test setup
I'm setting up a Linux system in KVM (QEMU) to test the effect of adding a writeback LVM cache on a fast disk in front of a logical volume that resides on a set of very slow disks (a RAID1 LV). This ...
0
votes
0
answers
22
views
how to manage size of /home .cache and .local folders
running RHEL 8.10 x86-64 on a server with many users,
/home is on a separate partition, and all user accounts as defined in /etc/passwd have their account under /home but there is a separate /data ...
1
vote
1
answer
178
views
Is it safe to add LVM cache device to existing LVM volume group while filesystem is mounted?
I have an existing LVM volume group with a 10 TB logical volume mounted as an ext4 system which is actively in use.
Is it safe to run the command lvconvert --type cache --cachepool storage/lvmcache-...
0
votes
2
answers
51
views
Is it possible to get a higher memory buff/cache usage after writing a lot of data to the disk?
On an Apache server of my own, logging requests to files has been enabled using a custom Apache module.
The log files can reach several GB at the end of the day.
Using Nagios I have noticed memory ...
2
votes
0
answers
45
views
A simple memcpy loop with stride of 8-16-32 Bytes, no L1 cache misses, what stalls backend cycles?
I am trying to understand the CPU cache performance in a single producer single consumer queue algorithm, but cannot pinpoint the cause of performance degradation in some cases. The following ...
0
votes
1
answer
56
views
What are the issues with timing sync and clearing cache?
Because there is a situation in my project where files cannot be saved to disk after being written, these two scripts have been added in the background. Will they have any impact on system performance?...
1
vote
1
answer
186
views
Any way to enable user_xattr on tmpfs?
I am trying to cache CIFS share files on a ramdisk with cachefilesd, however cachefilesd requires the cache directory filesystem to support user_xattr. tmpfs does not by default. Is there any way to ...
0
votes
1
answer
173
views
How do I clear the cache without restarting my terminal?
I'm currently working on the POD supercomputer at UT Austin. Tech support for the supercomputer couldn't help me. There's a specific version of Python (3.9) I want to use in my Anaconda environment, ...
0
votes
2
answers
1k
views
How to disable the Linux page cache
The Linux kernel implements the page cache to accelerate I/O operations.
It would be helpful to be able to turn off and on the page cache for research and testing.
How can the Linux page cache be ...
0
votes
0
answers
204
views
Can't flush dns in kali linux in Virtualbox. It seems like neither of these are my dns client: systemd-resolve, resolvectl, nscd, dnsmasq
It seems like there are no dns clients(????).... but it's impossibile, it's just don't know how to find it.
$ sudo lsof -i :53 -S does not return anything.
systemctl restart nscd #or
systemd-resolve -...
0
votes
1
answer
958
views
It possible use SSD as cache?
I have a linux media server that I use mainly with plex and Serviio(dlna server). I have a t400 4gb gpu (transcoding), 16GB ddr4 ram and an i7-6700 cpu. Now, I have 3 SSDs: 1TB for movies, 250GB for ...
1
vote
0
answers
49
views
Can I invalidate the buffer cache of a block device?
I have a system which is a USB gadget. It exposes one of its partitions over USB using functionfs to allow the host to provide update files:
set -e
CONFIGFS_ROOT=/dev/gadget
CONFIGFS_DEV=$...
0
votes
1
answer
124
views
Question on tuning file system cache in Linux UBIFS on MTD
I am working on an embedded Linux system, where kernel is 5.10.24, and UBIFS on MTD is used.
The testing team had a test, which writes a disk file (open, write, close in order), then powers system off....