|
|
|
|
|
by jazzkingrt
2190 days ago
|
|
Certainly possible. Glibc has the sysconf function which can provide the cache sizes at runtime. https://www.gnu.org/software/libc/manual/html_node/Constants... However, consider a scenario like a database where you might store on disk once and don't get cheap opportunities to reorganize data when the memory or processor hardware is switched out. Or when your data is sent over the network for processing by some arbitrary client hardware. |
|