LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   Centos version in new project (https://www.linuxquestions.org/questions/centos-111/centos-version-in-new-project-4175669923/)

zvivered 02-19-2020 08:37 PM

Centos version in new project
 
Hello,

I'm starting a new project in which I will also have to recompile the centos kernel.

Can you please advise:
Should I use the newest version: 8.0.1905 or an older one ?

Thank you,
Zvika

TB0ne 02-19-2020 08:44 PM

Quote:

Originally Posted by zvivered (Post 6092029)
Hello,
I'm starting a new project in which I will also have to recompile the centos kernel.

Can you please advise: Should I use the newest version: 8.0.1905 or an older one ?

..and since you don't tell us anything about your project, what you're trying to do, why you need to recompile it, etc., how do you think we'll be able to tell you what you should use???

If this is related to your other thread about CMA, it doesn't matter; again, if it's not enabled in whatever kernel you want to use by default, you'll have to recompile it with that enabled. And you *STILL* won't be able to use it in user space.

zvivered 02-20-2020 02:40 PM

Hello,

The application should read data RAM and then process it.
The source of this data is a PCIe card.
The card intiates DMA to big contiguous physical memory areas (~256MB) allocated in the kernel.

My question does not regard to the CMA issue.
It's a general question on the preferred Centos verison I should use.

Thank you,
Zvika

TB0ne 02-20-2020 03:40 PM

Quote:

Originally Posted by zvivered (Post 6092367)
Hello,

The application should read data RAM and then process it. The source of this data is a PCIe card. The card intiates DMA to big contiguous physical memory areas (~256MB) allocated in the kernel.

My question does not regard to the CMA issue. It's a general question on the preferred Centos verison I should use.

Sorry, no. Your other thread
https://www.linuxquestions.org/quest...-a-4175668757/

..links to this:
https://forums.centos.org/viewtopic.php?t=71727

...where you are saying you're using PCIe hardware, just like here. And just like your other thread, you're asking here for contiguous memory in CentOS using DMA. So what, exactly, is different??? AGAIN, as you were told, unless you enable this feature in the kernel (or have it enabled by default), **IT WILL NOT WORK**, period. And again, this is not available in user space.

You are, AGAIN, giving no real details about your 'new project', so we cannot tell you what is 'preferred', past the very general advice to always use the newest version.

scasey 02-20-2020 07:06 PM

Quote:

Originally Posted by TB0ne (Post 6092388)
You are, AGAIN, giving no real details about your 'new project', so we cannot tell you what is 'preferred', past the very general advice to always use the newest version.

Yup. Look at end-of-life schedules for various CentOS versions.
In most cases, it doesn't make sense to use an earlier version when starting a new project.

zvivered 02-20-2020 09:44 PM

Hello TBOne, scasey,

Thank you very much.

Best regards,
Zvika


All times are GMT -5. The time now is 07:10 PM.