LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-06-2019, 01:55 PM   #1
sungjin
Member
 
Registered: Jul 2017
Location: Seoul
Distribution: Slackware
Posts: 54

Rep: Reputation: Disabled
NUMA support in the kernel configuration in the default slackware kernel package.


Hi.

Currently, I'm a graduate student, majoring in the computer science.

My work is mainly concerned with the machine learning (especially, python and TensorFlow. Yes, the hype). I think that the de facto standard to start with this job is to install an ubuntu distribution (or debian based OSs, which provide apt-get).

(By the way, please let me make it clear that I just mention that this is the recommended way for many others, for example, all colleagues of my lab except me use ubuntu distribution for the research, but definitely I do not want any kind of aggressive debates. Please excuse me if you mind that.)

Yet, for me, being a slackware user for over twenty years since 1995, before the millennium,

(I remember that the time when I was a kid, that was, a freshman in the college, and we needed lots of floppy disks to install slackware for the 80486 computer),

so I do not want any distribution but slackware.

However, in the default configuration of the slackware kernel, what is missing is the NUMA configuration. Here's the dependency chain:

TensorFlow -> CuDNN (by NVIDIA) -> CUDA driver (by NVIDIA) -> kernel (which lacks NUMA support),

so the first thing when I set up a new machine (or after upgrading the kernel, e.g., for security update) is to compile a local version of the kernel to include CONFIG_NUMA.

I know that compiling a kernel is not a big deal, but as a matter of fact, it's time consuming and needs extra work whenever the kernel is updated, so I'll be very glad if I can use the NUMA feature from out of the box, i.e., from stock kernel of the slackware release.

I know that deciding a feature of the distribution can be very difficult, for there can be so many opinions, so after all this is just my humble opinion, but I think it will be helpful to many others for whom within the situation like me.

I'll very glad to hear about this matter.

Thank you very much.


Best regards,

Sungjin, Kim.
 
Old 03-06-2019, 05:01 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,524

Rep: Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492Reputation: 8492
The x86_64 and the i686 SMP kernels in -current already set CONFIG_NUMA=y, so that will be standard for most of the kernels released with Slackware 15.0. Only the non-PAE non-SMP 32-bit kernels lack it (and nobody should be using those anyway).

If there are other related NUMA kernel settings that we should be considering, feel free to suggest them.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
support for NUMA architecture in Linux rainman1985_2010 Programming 3 05-01-2011 11:41 PM
Support for NUMA in x86_32 architecture Shreyasdm Linux - Software 0 01-05-2009 01:39 AM
LXer: This week at LWN: Memory part 4: NUMA support LXer Syndicated Linux News 0 10-25-2007 08:20 AM
Numa numa dance! stabile007 General 7 04-22-2005 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration