Re: Parallel multithreading for I/O operation in linux ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Keith Thompson

    Re: Parallel multithreading for I/O operation in linux ?

    jurij <jurij.ivastsuk @waxar.euwrites :
    At first we should mention that we have a one-processor, linux-machine
    (Kernel 2.6.23) and developing an I/O application using g++.
    >
    The problem:
    we have a task :"reader" which should read sequentially some data from
    a device and fill, for example, 4 buffers with it; additionally we
    have another task: "processor" , its responsibility is to process data
    which it can find in these 4 buffers. Our goal is to design this
    schema very optimal from the speed point of view.
    [SNIP]
    Question:
    Why our multithreading schema described above cannot give us
    enhancement in speed?
    Standard C doesn't have threads. Try comp.programmin g.threads.

    --
    Keith Thompson (The_Other_Keit h) kst-u@mib.org <http://www.ghoti.net/~kst>
    Nokia
    "We must do something. This is something. Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"
Working...