question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configurable kernel_cache directory

See original GitHub issue

It would be nice to make the kernel_cache directory location configurable. This is handy in situations where the user’s home directory might live on NFS (very slow for IO), when a container is used (might lack permissions for the home directory), etc. In these cases the user could set another location with an environment variable.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (19 by maintainers)

github_iconTop GitHub Comments

1reaction
asi1024commented, Mar 12, 2020

Yes, in-memory caching is already supported in default but the interface that disables it is not supported currently.

1reaction
asi1024commented, Mar 11, 2020
  1. _kernel._get_ufunc_kernel is assumed to be called from ufunc._get_ufunc_kernel and cached to self._kernel_memo`. (See here).
  2. RawKernel caches the kernel to self._kernel in RawKernel.kernel property method is called. (See here).
Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Working with Advanced Metadata (yocto-kernel-cache)
The kernel Metadata consists of three primary types of files: scc [1] description files, configuration fragments, and patches. The scc files ...
Read more >
Configuration - Dortania
Description: Use customised kernel cache from the Kernels directory located at the root of the ESP partition. Unsupported platforms including Atom and AMD ......
Read more >
Linux microPlatform Kernel - Foundries.io Documentation
The Linux Kernel recipe can be found in the Meta-LMP layer, under the meta-lmp/recipes-kernel/linux directory. Linux microPlatform Kernel Configuration ...
Read more >
Managing Legacy Kernel Extensions in macOS Using Jamf Pro
RebuildKernelCache —This key is required to rebuild the kernel cache to include the specified kernel extension in the configuration profile.
Read more >
5. Kernel Maintenance — The Yocto Project dev documentation
Execute the Script: The script is executed to produce files .scc and .cfg files in appropriate directories of the yocto-kernel-cache repository.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found