Skip to main content

All Questions

Tagged with
0 votes
0 answers
44 views

Optmization and tuning Linux Server (Mediaserver)

I rebuilt a server, specifically a mediaserver, based on debian 12 stable (kernel 6.1). CPU: i7-6700K(no overclock) RAM: 16GB DDR4 (dual channel) NIC: 2 of 2.5Gbit (bonding balance-tlb) (MTU bond0: ...
vincenzogianfelice's user avatar
-3 votes
1 answer
270 views

Why don't BSD kernels use likely() unlike Linux does?

As pointed out in an answer, there's some use of similar hints to compiler in say, FreeBSD and OpenBSD, but those hints coverage of Linux kernel code is a few magnitudes higher. It might make sense to ...
poige's user avatar
  • 6,280
0 votes
1 answer
3k views

Why configure/build gcc takes much more time than apt-get install gcc [closed]

Wander to make some modification on libgomp (gcc's OpenMP runtime library), I downloaded the source code of GCC8, and tried to configure/make the whole compiler. The configuration phase terminated ...
user292252's user avatar
4 votes
2 answers
4k views

How to force a Thinkpad to draw charge from internal vs external battery?

My T450s Thinkpad has two built-in batteries--one hot-swappable and one inside the laptop. Lenovo calls the former "external" and the latter "internal". When not plugged in, the external battery ...
Stan's user avatar
  • 41
1 vote
1 answer
372 views

How do you specify a blkparse format specifier that also suppresses summary

When using the live mode, I do: blktrace -d /dev/sdc1 -o -|blkparse -f '%a %c' -i - I just want to limit the displayed data to 'action' and 'cpu id'. Instead I get the summary and all the usual ...
linuxGuy's user avatar
1 vote
1 answer
674 views

How to increase no. of nfsd threads in WD my cloud (nfs server)? for better performance

There are only 8 default nfsd threads available in WD my cloud, this no. is not sufficient for my requirement. I want to increase default nfsd threads to 20 threads. For this I first connected with ...
Amit Yadav's user avatar
2 votes
0 answers
332 views

Is there a linux interface for arm cp15 register access?

For performance optizimization I should be able to switch bits in ACTLR register of the cp15 unit. I've done stuff like this before in bare metal projects, but from linux user space I can't execute ...
Philippos's user avatar
  • 13.5k