Re:Linux Kernel: The multi-generational LRU
by signa11 on Monday April 19, 2021 @09:36AM
(#26862588)
does the kernel now support floating point operations ?
Re:Linux Kernel: The multi-generational LRU
by magicalhippo on Monday April 19, 2021 @12:53PM
(#26864969)
I'm no kernel developer so I don't know. The dataset they used for training the neural net was a recorded dataset, so training could be done offline.
The specific predictor they created was integer based, so could be used in a non-floating point kernel:
We then use an SVM with the k-sparse binary feature. Since integer operations are much cheaper in hardware than floating point operations, we use an Integer SVM (ISVM) with an integer margin and learning rate of 1.
Again this highlights the interesting point of the paper, IMHO.
Thus, this paper has shown how we can use deep learning in an offline setting to derive insights that lead to an improved set of features with which to make predictions for cache replacement. More broadly, our approach in designing Glider suggests that deep learning can play an important role in systematically exploring features and feature representations that can improve the effectiveness of much simpler models, such as perceptrons and SVMs.