[lkml]   [2001]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: threading question
    On Tue, Jun 12, 2001 at 01:07:11PM -0600, wrote:
    > Hello,
    > due to the nature of the problem (a pairwise mutual alignment of n
    > sequences results in mx. n^2 alignments which can each be done in a
    > separate thread), I need to create and destroy the threads frequently.
    > I am not really comfortable with 1.4 - 1.5 speedups since the solution was
    > intended as a Linux one primarily and it just happenned that it works (and
    > now even better) on Solaris/SGI/OSF...

    If you havily create threads under load you're rather srewed. If you want
    to stay with the (IMHO rather suboptimal) posix threads API you might want
    to take a look at the stuff IBM has produced:

    Otherwise a simple wrapper for clone might be a _lot_ faster, but has it's
    own disadvantages: no ready-to-use lcoking primitives, no cross-platform
    support (ok, it should be portable to the FreeBSD rfork easily).


    Of course it doesn't work. We've performed a software upgrade.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:17    [W:0.025 / U:0.040 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site