LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-16-2023, 12:21 AM   #1
ricky.wang
LQ Newbie
 
Registered: Dec 2023
Posts: 2

Rep: Reputation: 0
Any one knows why sgl_threshold was set as 32k by default for NVMe SGL


Hi,

Recently, I'm working on NVMe SGL related, and I observed the default sgl_threshold was set as 32K by default in NVMe driver. Just wondering what the background is to set with this value instead of others.

Regards,
Jinghai
 
Old 12-17-2023, 10:55 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,143

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Looks like the cost of setting up the SGL outweighs the benefit for I/O smaller than 32k. https://lore.kernel.org/all/04aaed5c...ellanox.com/T/
 
1 members found this post helpful.
Old 01-07-2024, 10:51 PM   #3
ricky.wang
LQ Newbie
 
Registered: Dec 2023
Posts: 2

Original Poster
Rep: Reputation: 0
I appreciate your response, it is really 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] Slackware 15 - NVME clone to external NVME - Boot problem from external NVME Klaus150 Slackware 35 10-16-2022 04:29 PM
LXer: Data in a Flash, Part II: Using NVMe Drives and Creating an NVMe over Fabrics Network LXer Syndicated Linux News 0 05-20-2019 11:41 PM
Migrate Linux/win10 dual boot from MBR nvme drive to a new GPT nvme drive bluemoo Linux - Software 7 09-25-2018 06:42 PM
megasas: Failed to alloc kernel SGL buffer for IOCTL sherimm Linux - Software 0 01-27-2009 12:25 AM
How to put a string (w/ dbl & sgl quotes) into a pipe without it being changed ? lumix Linux - Newbie 8 05-15-2008 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:05 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