Questions tagged [cache]

a cache stores temporary data nearby so that it can be retrieved much more quickly than fetching it from the real backing store (disk, network), or recalculating some result all over again

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

What is RAM Cache?

I noticed this once I installed Ubuntu 20.10. There is 2.1GiB of memory used as "Cache". I know the CPU, GPU and hard disk's have a cache. I know of swap memory, but this is the first time ...
0
votes
0answers
36 views

why is my memory cache so big?

right now I have only a browser tab running on my laptop, but when I open system monitor, in memory section, It shows: 3.2 GiB (23.2%) of 13.7 Cache 6.1 GiB why is my Cache so big? is it usual?, and I ...
1
vote
1answer
92 views

Can we clear memory cache in Ubuntu

In my Ubuntu 20.04 I see 8.7 GB Memory cache in system monitor. Can I clear this, what is the best way to do so?
0
votes
0answers
27 views

How can I setup & use write-back memory type range from userspace?

Using the sample code from 12.6. Creating MTRRs from a C programme using ioctl()’s I can create a write-back type memory range. However, I was wondering if anyone can tell me how can I use that? I ...
0
votes
0answers
12 views

Unzip get me the same version of archive files although the archive was changed

I have a git repository. I made a zip file and copy it to Ubuntu 20.04 server. Then I called unzip archive.zip After that I found out there are git changes without commit, which I don't want to have ...
0
votes
2answers
28 views

Composer Installation Problem

Cannot create cache directory /home/rukon/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /home/rukon/.cache/...
0
votes
0answers
49 views

How do you make a SSD cache for a Raid 5 HDD array Ubuntu NAS?

I'm trying to make a NAS in Ubuntu as I like the OS more, and I can install it on a partition of a drive, as opposed to FreeNAS or any dedicated NAS operating systems. However, one thing I liked about ...
0
votes
0answers
33 views

How to cache a specific folder?

I have a folder that has a things in it that get frequently accessed. Some things get accessed a lot, and some don't. How can I set it up so that if something gets accessed enough times (i.e. 3 times) ...
0
votes
1answer
57 views

Progress bar on copying files to USB

On the Nautilus file manager, when copying any file to a flash drive, the progress bar will immediately go to 100%, signifying the transfer has completed. The issue is that the files have only been ...
0
votes
1answer
107 views

Clear dnsmasq cache without restarting the service

I have cache enabled in my dnsmasq, because it is fast. In some situations (for example, with VPN off), dnsmasq caches wrong results. I want a quick way to clean the cache (when I connect to the VPN ...
1
vote
1answer
369 views

How to disable disk cache of NVMe SSD

I know hdparm -W0 /dev/sata-ssd can disable disk cache for SATA SSD, but this does not work on my NVMe SSD (i.e., Samsung 980 pro). Maybe some option of nvme can do it, but I failed to find it. How ...
0
votes
1answer
89 views

How to get apt-cacher-ng to download AND cache packages from Apt HTTPS repositories?

Typically Apt packages are served over bare HTTP and the downloaded contents are verified with GPG signatures. This makes it easy for apt-cacher-ng to proxy the HTTP connections and add the downloaded ...
0
votes
0answers
39 views

Firefox shows data in 'cached web content' after clearing it, exiting, and then re-opening firefox?

Whenever I clear cache, exit and reopen firefox, there is always a different amount of data in 'cached web content', like 55kb, or 122kb etc (but usually 55kb). Why is this? :) I wondered if it was ...
0
votes
0answers
54 views

Is there something similar of windows “SetProcessWorkingSetSize” for linux?

I run into a memory leak on google chrome when running my script as it sends clicks very fast. I created an example code, in how to reproduce the leak on my post on StackOverflow: https://...
0
votes
0answers
49 views

Cache music streaming (Spotify) Location

I am characterizing traffic from streaming services, specifically Spotify. I notice that a song is streamed once, and then, if the song is replayed, only few traffic is generated. Hence, that song is ...
0
votes
0answers
21 views

Creating a forward proxy that caches webcontent

I have been using a rather slow website lately and I wanted to try and speed it up as a kind of challenge for myself, although I have not been able to find much. Essentially what I want is to set up a ...
0
votes
0answers
55 views

Slow caching with vmtouch

As part of reading large binary files into volatile memory, in Cython, I am using numpy's memmap. There needs some processing on the data, hence I am only copying the data part of the binary file (...
0
votes
0answers
127 views

How do I resolve “dpkg: error processing archive” when attempting to install or upgrade applications?

Here is an example: When I try to install firefox with sudo apt install firefox: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run '...
1
vote
0answers
374 views

LVM Slow flush of cached dirty blocks

I have a system with two 4TB SATA disks and two 1TB NVME disks setup in two mirrors using mdadm. Ubuntu 20.04 installed with one boot on md0 and the rest (md1) is added to vg0 with a root lv with ext4....
0
votes
0answers
86 views

Best cache solution for random-read performance with SSD + HDD (RAID0)

For a project we do need more IO performance with 7200 RPM HDDs. I have checked the bcache and dm-cache and flashcache topics for this case, Currently setup: 2x3TB 7200 RPM in RAID 0 (HWR) 1x1TB SSD ...
0
votes
0answers
38 views

Minimizing SWAP usage, but Cache is forcing Ubuntu to use SWAP

I have a 128 GB SSD (with DRAM cache) and 1 TB HDD. I have installed Ubuntu 20.04 in the SSD (/, /home, swap [8GB] in SSD and data in HDD). My PC has 8 GB RAM. I have reduced swappiness to 20 from 60 ...
0
votes
0answers
213 views

What is the calculation for available memory in free command

Need to know how kernel calculating the available memory in Ubuntu As my used memory is not equal to available (total - used)
0
votes
2answers
101 views

Does ubuntu ever clear ~/.cache automatically?

I was wondering whether by default there's anything in place that clears the .cache folder. To my understanding .cache is similar to /tmp, at least I am seeing it being used like that. Meaning that ...
6
votes
2answers
2k views

Reset MS Teams completely

I used Microsoft Teams (Linux) few months back with an organizational account. Now I want to use it with some other account. I'm currently in logged out state since I don't have access to the org ...
2
votes
1answer
2k views

How can I see systemd-resolve dns cache?

Using sudo systemd-resolve --statistics let me see the current dns cache statistics, for example : Cache Current Cache Size: 68 Cache Hits: 412 Cache Misses:...
0
votes
1answer
280 views

Permission for all commands, but unable to clear cache

I am trying to clear the cache on my laptop running: Operating System: Ubuntu 20.04 LTS Kernel: Linux 5.4.0-40-generic However when I put in these commands this is the output: $ sudo sync; ...
0
votes
1answer
252 views

Can I change my Bcache settings on the fly?

I made a fresh install of ubuntu 20.04 on my desktop, and then, from within the installation, created a bcache device to put my /home sudo make-bcache -C /dev/sdb4 -B /dev/sda1 Where /dev/sdb is the ...
1
vote
0answers
84 views

How to set a permanent buffer size for file transfers

I have read other posts that address the problem of excessive RAM usage for buffering, during huge file transfers. I know about nocache etc. What I'd like to ask is whether there's a way to actually ...
0
votes
0answers
31 views

Load cache into RAM

Im just started to use Ubuntu and I notice that there is 1GB of cache in use. I also use SDD and I wanna to expand it life. Loaded System monitor shows that there is 1GB of cache, guessin, on SDD and ...
1
vote
0answers
22 views

Apt cache master / slave auto negotiation on a local network

I have 10s of systems on a school network running Ubuntu 18. These systems all regularly update and the impact on the network can be significant. I've been experimenting with apt-cacher-ng to ...
2
votes
0answers
948 views

Why does Ubuntu 20.04 on ZFS destroy custom datasets at boot-time zpool import of the zpool.cache?

After creating the targets of a personal data lake, and filling them with plenty of terabytes through rsync, I was quite surprised at the next reboot, that Ubuntu's ZFS didn't like the datasets, and ...
2
votes
1answer
194 views

systemd-resolved keeps multiple copies of cache?

I put systemd-resolved into debug mode trying to troubleshoot high number of DNS queries from this machine (tcfe01). It seems systemd-resolved is keeping multiple copies of cache, one for global scope ...
2
votes
1answer
893 views

How to clean cache and orphan dependencies in snap and flatpak?

Is there an equivalent of sudo apt clean in snap and flatpak (to delete the cached installation files)? That might free up a considerable amount of space. Also, is there any equivalent of sudo apt ...
1
vote
1answer
478 views

Ultra high page cache usage potentially triggering kswapd0?

I have been running into a serious problem with my Ubuntu 18.04 server. I started noticing that there were serious slowdowns in the server and when I checked, CPU usage was all maxed to 100%. I began ...
1
vote
1answer
53 views

A reposotory for downgrade

I'm working on Ubuntu 18.04 and I need to Downgrade some packages, but I cannot find them on /var/cache/apt/archives anymore, so I'm looking for some external Ubuntu 18.04 compliant repository able to ...
0
votes
1answer
75 views

APT “/var/cache/apt/archives” Cache Configuration

I need to can configure the APT "/var/cache/apt/archives" Cache. Example: Set "Maximum Folder Cache Size" Get/Set "How much time, have to be passed, to remove an older version of a DEB file"."
1
vote
1answer
357 views

How can I free some space in /var/cache/archives/

I have a dual boot laptop,in my first partition windows are installed and in the second one I have installed Ubuntu. when I try to boot into Ubuntu, I face a message saying that: started user ...
2
votes
1answer
546 views

“Asking for cache data failed” and “Assuming drive cache: write through” messages after that Ubuntu boot failed

Today I was using my (old) Compaq laptop where Lubuntu is regularly installed on a partition. Suddenly, it stopped to respond to any inputs, so I (wrongly?) decided to restart the system. After the ...
0
votes
1answer
114 views

Squid as cache proxy

The only internet connection I have is through mobile data, although I have an unlimited use in the browsers for the cache, to optimize the bandwidth and not have to be downloading the css and js ...
2
votes
0answers
104 views

Change kio cache directory

I was wondering if there's a way to change the location of the cache directory used by kio. Currently when I go through my GoPro videos, they cache to ~/.cache/kioexec/krun/ which is on my SSD. ...
5
votes
1answer
3k views

Is there a way to set the (max) amount buffer / cache an Ubuntu server reserves from RAM?

I've recently upgraded my server's RAM to 16 GB. The server itself doesn't require much RAM but Ubuntu seems to reserve quite a bit for caching. Doing free - m results in: total ...
3
votes
1answer
2k views

What uses and fills up ~/.cache/kioexec/krun/?

I've just noticed some files there that were created a long time ago, they look like copies of my files already present on filesystem elsewhere. What process or processes use this folder and for what ...
1
vote
0answers
78 views

How to analyze output in gem5 simulation

How can we check the data sharing and parallelism for a benchmark in gem5 simulator. I have run for 4 cores with 4 threads with 2 level cache where size of L1=4MB and L2=4MB respectively. I was told ...
4
votes
0answers
438 views

Is there anything in ~/.cache that is not really cache?

My machine has lots of memory, so I moved ~/.cache/google-chrome into /tmp, which is a tmpfs RAM disk. This makes the browser run faster and reduces SSD usage. When I reboot, it all goes away, but it ...
2
votes
1answer
3k views

How would I place the Chromium cache on tmpfs (ram)?

Some background: Today I have realized that my system SSD is almost full (90% full) for the /home dir. I have realized that the main culprit is (are) the 77 chromium profiles that I use on my ...
1
vote
1answer
2k views

Should I use an SSD as cache for Ubuntu Server 18.04 [closed]

I have an 128 GB SSD that I'm going to use as a boot drive on Ubuntu Server 18.04. The server will be mostly used as a media and file server. I was wondering if I should use the remaining space on ...
0
votes
1answer
576 views

How to determine meaning of ras-mc-ctl error messages?

ras-mc-ctl --errors is reporting results like: 661 2019-08-20 08:42:29 -0400 error: corrected filtering (some unreported errors in same region) Generic CACHE Level-3 Generic Error, mcg mcgstatus=0, ...
0
votes
0answers
48 views

How to clear out the info downloaded via apt-get update?

For testing purposes, to ensure that the automation I am running will work on a "fresh" server, how can I clear all info downloaded via apt-get update? apt-get clean does not appear to do this. ...
14
votes
1answer
2k views

Is there official documentation on directories like ~/.config and ~/.cache?

I've seen these directories being used by many applications and am now considering using them for my app. How do I know this is an officially supported folder and not just a flavor of the month ...
1
vote
0answers
49 views

Caching server for snaps

A lot of packages have been added to the snaps store lately and it's great, but I work on an environment with very restricted bandwidth and everyone on the team usually benefit of other's downloaded ...

1
2 3 4 5 6