login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
1
Re: Network slowdown due to CFS
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Arjan van de Ven <arjan@...>
To: <davids@...>
Cc: Ingo Molnar <mingo@...>, <linux-kernel@...>
Subject:
Re: Network slowdown due to CFS
Date: Monday, October 1, 2007 - 6:35 pm
On Mon, 1 Oct 2007 15:17:52 -0700 "David Schwartz" <davids@webmaster.com> wrote:
quoted text
> > Arjan van de Ven wrote: > > > > It can occasionally be an optimization. You may have a case where > > > you can do something very efficiently if a lock is not held, but > > > you cannot afford to wait for the lock to be released. So you > > > check the lock, if it's held, you yield and then check again. If > > > that fails, you do it the less optimal way (for example, > > > dispatching it to a thread that *can* afford to wait). > > > at this point it's "use a futex" instead; once you're doing system > > calls you might as well use the right one for what you're trying to > > achieve. > > There are two answers to this. One is that you sometimes are writing > POSIX code and Linux-specific optimizations don't change the fact > that you still need a portable implementation. > > The other answer is that futexes don't change anything in this case. > In fact, in the last time I hit this, the lock was a futex on Linux. > Nevertheless, that doesn't change the basic issue. The lock is > locked, you cannot afford to wait for it, but not getting the lock is > expensive. The solution is to yield and check the lock again. If it's > still held, you dispatch to another thread, but many times, yielding > can avoid that.
yielding IS blocking. Just with indeterminate fuzzyness added to it.... -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
Network slowdown due to CFS
, Martin Michlmayr
, (Wed Sep 26, 4:52 am)
Re: Network slowdown due to CFS
, Mike Galbraith
, (Wed Sep 26, 6:23 am)
Re: Network slowdown due to CFS
, Martin Michlmayr
, (Wed Sep 26, 6:48 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Sep 26, 7:21 am)
Re: Network slowdown due to CFS
, Martin Michlmayr
, (Wed Sep 26, 7:29 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Thu Sep 27, 5:49 am)
Re: Network slowdown due to CFS
, Martin Michlmayr
, (Thu Sep 27, 6:54 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Thu Sep 27, 6:56 am)
Re: Network slowdown due to CFS
, Martin Michlmayr
, (Thu Sep 27, 7:12 am)
RE: Network slowdown due to CFS
, David Schwartz
, (Wed Sep 26, 8:00 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Sep 26, 9:31 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Thu Sep 27, 5:30 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Thu Sep 27, 5:46 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Thu Sep 27, 8:27 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Thu Sep 27, 9:31 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Thu Sep 27, 10:42 am)
Re: Network slowdown due to CFS
, Nick Piggin
, (Fri Sep 28, 2:10 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Mon Oct 1, 4:43 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Tue Oct 2, 5:26 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Mon Oct 1, 12:25 pm)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Tue Oct 2, 5:03 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Tue Oct 2, 9:39 am)
Re: Network slowdown due to CFS
, Chris Friesen
, (Mon Oct 1, 12:55 pm)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Mon Oct 1, 1:09 pm)
Re: Network slowdown due to CFS
, Chris Friesen
, (Mon Oct 1, 1:45 pm)
Re: iperf yield usage
, Ingo Molnar
, (Mon Oct 1, 3:09 pm)
RE: Network slowdown due to CFS
, David Schwartz
, (Mon Oct 1, 12:49 pm)
RE: Network slowdown due to CFS
, Rusty Russell
, (Wed Oct 3, 8:31 pm)
Re: Network slowdown due to CFS
, Helge Hafting
, (Wed Oct 3, 7:31 am)
Re: Network slowdown due to CFS
, Arjan van de Ven
, (Mon Oct 1, 3:53 pm)
RE: Network slowdown due to CFS
, David Schwartz
, (Mon Oct 1, 6:17 pm)
Re: Network slowdown due to CFS
, Arjan van de Ven
, (Mon Oct 1, 6:35 pm)
RE: Network slowdown due to CFS
, David Schwartz
, (Mon Oct 1, 6:44 pm)
Re: Network slowdown due to CFS
, Arjan van de Ven
, (Mon Oct 1, 6:55 pm)
RE: Network slowdown due to CFS
, David Schwartz
, (Tue Oct 2, 11:37 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Wed Oct 3, 3:15 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Mon Oct 1, 1:31 pm)
RE: Network slowdown due to CFS
, David Schwartz
, (Mon Oct 1, 2:23 pm)
Re: yield API
, Ingo Molnar
, (Tue Oct 2, 2:46 am)
Re: yield API
, Jesper Juhl
, (Wed Dec 12, 6:39 pm)
Re: yield API
, Kyle Moffett
, (Thu Dec 13, 12:43 am)
RE: yield API
, David Schwartz
, (Thu Dec 13, 4:10 pm)
Re: yield API
, Eric St-Laurent
, (Tue Oct 2, 5:57 pm)
Re: yield API
, linux-os (Dick Johnson)
, (Tue Oct 2, 7:50 am)
Re: yield API
, Douglas McNaught
, (Tue Oct 2, 11:24 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Tue Oct 2, 2:26 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Tue Oct 2, 2:08 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Tue Oct 2, 2:06 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Wed Oct 3, 4:02 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Oct 3, 4:16 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Wed Oct 3, 4:56 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Oct 3, 5:10 am)
Re: Network slowdown due to CFS
, Casey Dahlin
, (Thu Oct 4, 1:33 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Wed Oct 3, 5:50 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Sun Oct 7, 3:18 am)
Re: Network slowdown due to CFS
, Dmitry Adamushko
, (Wed Oct 3, 6:55 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Wed Oct 3, 7:40 am)
Re: yield
, Ingo Molnar
, (Wed Oct 3, 7:56 am)
Re: yield
, Jarek Poplawski
, (Wed Oct 3, 8:16 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Oct 3, 7:22 am)
Re: Network slowdown due to CFS
, Dmitry Adamushko
, (Wed Oct 3, 6:58 am)
Re: Network slowdown due to CFS
, Jarek Poplawski
, (Wed Oct 3, 7:20 am)
Re: Network slowdown due to CFS
, Andi Kleen
, (Tue Oct 2, 2:47 am)
Re: Network slowdown due to CFS
, Stephen Hemminger
, (Wed Sep 26, 11:46 am)
Re: Network slowdown due to CFS
, Stephen Hemminger
, (Wed Sep 26, 11:40 am)
Re: Network slowdown due to CFS
, Mike Galbraith
, (Wed Sep 26, 6:20 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Sep 26, 5:34 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Sep 26, 5:47 am)
Re: Network slowdown due to CFS
, Martin Michlmayr
, (Wed Sep 26, 6:08 am)
Re: Network slowdown due to CFS
, Ingo Molnar
, (Wed Sep 26, 6:18 am)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #10582] INFO: task pdflush:27505 blocked for more than 120 seconds.
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Jan Engelhardt
Re: [RFC] div64_64 support
Linus Torvalds
Linux 2.6.27
git
:
Junio C Hamano
[RFD] On deprecating "git-foo" for builtins
Peter Karlsson
RCS keyword expansion
Thomas Glanzmann
fatal: serious inflate inconsistency
Mark Levedahl
Re: [PATCH] Teach remote machinery about remotes.default config variable
openbsd-misc
:
Richard Stallman
Real men don't attack straw men
Marcos Laufer
dmesg IBM x3650 OpenBSD 4.3
GVG GVG
ssh_exchange_identification: Connection closed by remote host
Jason Dixon
Re: Hardware recommendation for firewalls (more than 4 NICs)
linux-netdev
:
Christoph Lameter
tbench regression on each kernel release from 2.6.22 -> 2.6.28
Eric W. Biederman
[PATCH 01/10] sysfs: Make sysfs_mount static again.
David Miller
Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten
Wolfgang Walter
Re: Kernel oops with 2.6.26, padlock and ipsec: probably problem with fpu state ch...
Latest forum posts
high memory
1 day ago
Linux kernel
semaphore access speed
1 day ago
Applications and Utilities
the kernel how to power off the machine
1 day ago
Linux kernel
Easter Eggs in windows XP
1 day ago
Windows
Shared swap partition
1 day ago
Linux general
Root password
1 day ago
Linux general
Where/when DNOTIFY is used?
1 day ago
Linux kernel
How to convert Linux Kernel built-in module into a loadable module
1 day ago
Linux kernel
Linux 2.6.24 and I/O schedulers
1 day ago
Linux kernel
USB Driver -- Interrupt Polling -- A Little Help Please
1 day ago
Linux general
Show all forums...
Recent Tags
quote
bugs
Linus Torvalds
Linux
2.6.27-rc8
-rc8
2.6.27
Intel
-rc
more tags
Colocation donated by:
Who's online
There are currently
3 users
and
1102 guests
online.
Online users
strcmp
Mr_Z
zamb
Syndicate
speck-geostationary