New answers tagged

0 votes

Pro-Gaming With GNU

Personally I will start with a kernel optimized for desktop, there are some distro oriented to this (Mandriva, Fedora, Ubuntu). Then I will start to read some guides to optimize kernel performance ...
user avatar
  • 11k
0 votes
Accepted

Debian: convert from RAID1 to RAID 0

In my (unfortunately deleted post) I showed the results of testing mdadam (included in Debian) RAID1, RAID0, RAID10, and single disk. The expected RAID1 performance -slightly slower write speed than ...
user avatar
  • 933
1 vote

Custom path for syslog socket

What you're doing is totally nonsensical. Daemons usually log by calling the syslog(3) function from the C library, which works by sending a message to the hardwired /dev/log unix domain socket. ...
user avatar
1 vote

Can I change the order of IP addresses in Linux?

After much trials & tribulations, the main issue has been identified. The problem was the scope of IP addresses. The two internal addresses (169.254.x.x) were set up with a scope of global. ...
user avatar
  • 11
1 vote

What changed from Linux Kernel 5.9 to 5.10?

5.9 -> 5.10 differences can be seen here Various scheduler updates introduced in 5.10 can be seen here
user avatar
  • 20.2k
0 votes

What changed from Linux Kernel 5.9 to 5.10?

It appears that something changed regarding priority scheduling between these two Linux kernels. The program that is running requests a scheduling priority of 90, and that is what is causing the ...
user avatar
  • 153
1 vote
Accepted

Is it possible to increase the size of OpenBSD's bsd.rd without building it from source?

Someone came up with a similar question some time ago on the misc@openbsd.org mailing list. Quoting directly Stuart Henderson's answer: Hello, I want to build "bigger" bsd.rd image. Does ...
user avatar
  • 1,352
0 votes

Unable to launch Steam on Nvidia 495 driver, 5.4 kernel, Linux Mint 20.3

I have the same problem, Ubuntu 22.04, kernel 5.15.0-39-generic and Nvidia driver 510.73.05 not sure the reason but start happening just after update, I can still open Steam but only trough the ...
user avatar
  • 101
-1 votes

How can I write to dmesg from command line?

echo "Add your message here" | sudo tee /dev/kmsg Verify by running dmesg -T
user avatar
  • 111
2 votes
Accepted

Virtualbox < 5.1.34 crashes frequently on kernel > 5.18

After some internet recherche I found this nice discussion on the virtualbox forum. At first I thought my vm installation troubles but it happens on all guest machines. The solution up to now is to ...
user avatar
  • 239
1 vote
Accepted

plymouth-git when boot appears a grey screen and white 3 dots and then lightdm

I fixed by adding my kernel modules of my video card; for me, that is nouveau to the MODULES=() in mkinitcpio.conf and running sudo mkinitcpio -p linux
user avatar
  • 45
1 vote
Accepted

How is it possible that getcwd() takes sometimes half a second, according to strace?

We found out, that it was a faulty SSD. These were the commands that helped to identify it: $ ioping -c 20 /home/jsaak/temp/ min/avg/max/mdev = 1.00 ms / 5.71 ms / 29.3 ms / 7.62 ms $ fio --...
user avatar
  • 111
1 vote

Disabling any and all forms of write buffering and write caching

Create e.g. /etc/sysctl.d/disable_dirty_cache.conf (the name is arbitrary, it just has to end with .conf), reboot: vm.dirty_background_bytes = 0 vm.dirty_bytes = 0 Not tested, not even sure it's ...
user avatar
0 votes

Why does the same process bounce around on different "CPUs"?

even though they should all be balanced across different CPUs while the overlying jobs are running No they shouldn't. You didn't say which scheduler you are using but AFAIK all current mainstream ...
user avatar
  • 4,285
2 votes

Make: Include file causes "Permission denied" while trying to compile kernel

I managed to successfully compile the kernel using make -j 48. The problem was that the working directory was not physically on the computing node that was performing the actual compilation, so going ...
user avatar
  • 21
2 votes
Accepted

make && echo "hello" only print hello when make succeeds (kernel)

Because of the pipe to tee, the second make’s exit status is ignored. To get the behaviour you want, you need to enable pipefail: change the set -xe line to set -xe -o pipefail See Debugging scripts, ...
user avatar
22 votes
Accepted

How Linux kernel sees the filesystems

There is some confusion here because kernel source and documentation is sloppy with how it uses the term 'inode'. The filesystem can be considered as having two parts -- the filesystem code and data ...
user avatar
  • 3,121
5 votes

How Linux kernel sees the filesystems

The inodes, free blocks etc. are handled by the file system driver. This file system code provides a generic interface to the kernel which means the kernel can access files on a range of file systems ...
user avatar
  • 7,627
1 vote

You to know how many sectors to load from in the boot loader

Traditional boot loaders were multistage. The first stage bootloader for a system with an MBR partition table had the bootloader in the same block as the partition table, right after the partition ...
user avatar
  • 3,121
0 votes

Why does the same process bounce around on different "CPUs"?

You wrote watching the phenomenon using top. I am not sure it is the right tool for your analysis since, as man top acknowledges : P -- Last used CPU (SMP) A number representing the last used ...
user avatar
  • 2,810
0 votes
Accepted

Linux-next kernel version of the kernel tree

Not quite; linux-next is described as the holding area for patches aimed at the next kernel merge window. It gives an indication of what’s likely to be in the next release, but a patch’s presence in ...
user avatar
0 votes

Why does the same process bounce around on different "CPUs"?

The Linux scheduler uses natural CPU affinity: the scheduler attempts to keep processes on the same CPU as long as practical for performance reasons. You can enforce CPU affinity in a normal Linux ...
user avatar
  • 3,117
8 votes
Accepted

kernel 5.10.119 caused the values of /proc/sys/kernel/random/entropy_avail and poolsize to be 256

With no intention to compete with Marcus' complete answer. Just to explain what happened and justify that what you are noticing is not a bug. Default poolsize is hardcoded in drivers/char/random.c but ...
user avatar
  • 2,810
6 votes

kernel 5.10.119 caused the values of /proc/sys/kernel/random/entropy_avail and poolsize to be 256

yes we can. You could also before, when the same value would have been displayed – "entropy" is just a wild guess how much random sources for modifying the state of a pseudo-random number ...
user avatar
0 votes

Where is kvm.ko in my linux kernel/files?

If it’s built into the kernel, not as a module, then it’s part of your main kernel image (typically Image.gz on Aarch64, zImage, uImage etc. on 32-bit ARM). You only get a separate kvm.ko if KVM is ...
user avatar
0 votes

Accidently deleted kernels in the /boot directory and the computer will not boot

This is a full copy of my answer at Ask Ubuntu SE's How can I repair a system with a deleted kernel?. It might still help someone here to find a way through the jungle. I only thought that I had ...
user avatar

Top 50 recent answers are included