Skip to main content

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.

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 ...
A.G's user avatar
  • 11
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 ...
liori's user avatar
  • 630
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 ...
Kusalananda's user avatar
  • 339k
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 ...
ron's user avatar
  • 7,264
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-...
Mikko Rantalainen's user avatar
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 ...
tigrou's user avatar
  • 101
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 ...
xealits's user avatar
  • 2,163
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?...
Vimer's user avatar
  • 67
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 ...
kataba's user avatar
  • 11
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, ...
himinam's user avatar
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 ...
Neverland's user avatar
  • 485
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 -...
Allexj's user avatar
  • 265
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 ...
vincenzogianfelice's user avatar
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=$...
Toby Speight's user avatar
  • 8,770
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....
wangt13's user avatar
  • 443

15 30 50 per page
1
2 3 4 5
32