From: Neelam Saboo <neelam_saboo@usa.net>
To: Manfred Spraul <manfred@colorfullife.com>, neelam_saboo@usa.net
Cc: linux-kernel@vger.kernel.org
Subject: [Re: paging behavior in Linux]
Date: 2 Mar 2001 13:43:03 CST [thread overview]
Message-ID: <20010302194303.14346.qmail@www0a.netaddress.usa.net> (raw)
hi,
After I installed a newer version of Kernel (2.4.2) and enable DMA option in
hardware configuration, the behavior changes.
I can see performance improvements when another thread is used. Also, i can
see timing overlaps between two threads. i.e. when one thread is blocked on a
page fault, other thread keeps working.
Now, how can this behavior be explained , given the earlier argument.
Is it that, a newer version of kernel has fixed the problem of the semaphore
?
thanks
neelam
> That's a known problem:
>
> The paging io for a process is controlled with a per-process semaphore.
> The semaphore is held while waiting for the actual io. Thus the paging
> in multi threaded applications is single threaded.
> Probably your prefetch thread is waiting for disk io, and the worker
> thread causes a minor pagefault --> worker thread sleeps until the disk
> io is completed.
>
> --
> Manfred
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
next reply other threads:[~2001-03-02 19:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-02 19:43 Neelam Saboo [this message]
2001-03-02 20:23 ` Manfred Spraul
2001-03-03 1:44 ` Jeremy Jackson
-- strict thread matches above, loose matches on Subject: below --
2001-02-28 23:09 Neelam Saboo
2001-02-28 23:08 Neelam Saboo
2001-03-01 9:37 ` Helge Hafting
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010302194303.14346.qmail@www0a.netaddress.usa.net \
--to=neelam_saboo@usa.net \
--cc=linux-kernel@vger.kernel.org \
--cc=manfred@colorfullife.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®