Re: Analogue of Windows I/O completion ports on Linux?

From: Peter T. Breuer (ptb_at_oboe.it.uc3m.es)
Date: 09/24/05


Date: Sat, 24 Sep 2005 23:48:08 +0200

In comp.os.linux.development.system David Schwartz <davids@webmaster.com> wrote:

> "Erik de Castro Lopo" <nospam@mega-nerd.com> wrote in message
> news:4334EE0C.2B60937A@mega-nerd.com...

>> If you want performance you should forget about what windows does and find
>> out how to best do it on Linux.

> True.

>> On Linux I think you will probably maximize
>> performance by using blocking I/O with select() in a single thread.

> Oh god no. All that has to happen is one client does something unusual
> that requires you to fault in some code that hasn't run yet or has been
> oppurtunistically paged out.

Well, you could lock the process in memory, then! If you can't afford
to swap it, you can't swap it.

Peter



Relevant Pages

  • Re: Analogue of Windows I/O completion ports on Linux?
    ... In comp.os.linux.development.system David Schwartz wrote: ... >> out how to best do it on Linux. ... > that requires you to fault in some code that hasn't run yet or has been ... to swap it, you can't swap it. ...
    (comp.os.linux.development.apps)
  • Re: couple newbie questions (install & doc)
    ... a Linux power user, or at least quite familiar with it. ... Plan on swap size to be twice the ... real performance problems with swap spread over three hard drives. ... > suggestions as to how I should partition my disk2? ...
    (alt.os.linux.suse)
  • Re: automatic vs allocated attempts
    ... I can malloc away until the machine is to all intents and purposes dead ... On Linux, per default, mallocallocates address space only (if it ... If the kernel cannot provide physical RAM or swap space as backing store ...
    (comp.lang.c)
  • Re: How do I determine appropriate swapspace settings? And other partitioning questions.
    ... giving 50% over physical as swap. ... > Linux is different. ... I am presently running on two IDE hard drives, ... How does Linux like to have it's partitions metered ...
    (comp.os.linux.questions)
  • Re: Cant Compile Stalin
    ... Recent versions of gcc require a lot more memory with high ... increasing the amount of swap space you have, ... This performs very poorly, swap is bad enough, but a swap file is ... Linux memory management lies. ...
    (comp.lang.scheme)