New answers tagged

0

As a fellow Virgin Media (UK) user I can attest to their poor DNS management. ON the other hand, DNS caching is very common; instantaneous DNS configuration does not exist anywhere (that is, unless you have an intranet with an internal name server). A couple of hours is a typical delay in DNS caches. On the other hand, there is absolutely nothing that ...


0

It isn't bash doing this optimization, it's GNU tar. It recognizes when its output is /dev/null and doesn't read the contents of the files. Either arrange for the output not to be /dev/null: tar -cf - /mydirectory > /dev/zero Or use a different tool, such as find . | cpio -o >/dev/null find . -type f -exec cat {} + >/dev/null


0

POSIX_FADV_DONTNEED is taken into account on Linux; see mm/fadvise.c in the kernel source. Every time you call posix_fadvise() with POSIX_FADV_DONTNEED, any corresponding page cache is drained. As jthill mentioned, a better approach to minimise the impact of I/O on the page cache would be to open the files with O_DIRECT.


1

After some searching, I found that I needed to open /etc/dnf/dnf.conf and add the line proxy="http://<my_proxy>:<port> Simply setting the http_proxy in the bash shell was not enough.



Top 50 recent answers are included