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 08-31-2023, 05:40 AM   #1
plznobug
LQ Newbie
 
Registered: Aug 2023
Posts: 10

Rep: Reputation: 0
why too mach requests will increase IO latency


I am learning block layer. I found a patch in this link.https://patchwork.kernel.org/project...ei@redhat.com/

He mentioned in it that "the default nr_requests for scheduler is too big for small queuedepth devices, and latency is increased much."

I don't understand why a too larger nr_requests can let to bad effect.
If there are few requests, wouldn't it quickly exhaust the tags and cause IO blocking?
 
Old 09-01-2023, 09:45 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
The bad cases for I/O frequently have one greedy process launching a lot of I/O and other victim processes launching few. What happens to latency for the victims if you let the greedy process fill the queue instead of blocking?
 
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
arch/arm/mach-*/mach-*.c What do you call it? TeaYoung Linux - Kernel 1 02-07-2016 08:04 AM
LXer: My Nerd Life: Too Loud, Too Funny, Too Smart, Too Fat LXer Syndicated Linux News 0 01-24-2014 05:21 AM
Can arp requests cause latency issues? mohtasham1983 Linux - Networking 3 10-14-2009 08:18 PM
Smokeping shows latency increase with new kernel! thekillerbean Linux - Software 2 04-16-2007 02:34 AM
clamd upgradation in remote mach through local mac by script to be run on local mach Narayandutt Programming 3 11-29-2006 10:00 AM

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

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