Re: cvs commit: src/sys/kern sysv_sem.c

From: Colin Percival (colin.percival_at_wadham.ox.ac.uk)
Date: 03/24/04

  • Next message: Tim Traver: "shmem release"
    Date: Wed, 24 Mar 2004 18:40:51 +0000
    To: Sean Chittenden <seanc@FreeBSD.org>
    
    

    At 17:51 24/03/2004, Sean Chittenden wrote:
    >> FreeBSD src repository
    >>
    >> Modified files:
    >> sys/kern sysv_sem.c
    >> Log:
    >> Adjust the number of processes waiting on a semaphore properly if we're
    >> woken up in the middle of sleeping.
    >
    >Have you read the thread on performance@ regarding semaphore performance problems for PostgreSQL? Do you think this has any bearing on that problem? -sc

    I hadn't seen the thread on performance@ until now, but it sounds like this
    is very likely related -- this bug would result in processes not being woken
    up when a semaphore becomes free.

    Jason, could you update your src/sys/kern/sysv_sem.c to the latest revision
    (1.69), build a new kernel, and see if the problem goes away?

    Colin Percival

    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Tim Traver: "shmem release"

    Relevant Pages

    • RE: Semaphore scaling
      ... > Don't crosspost lists. ... >> semaphore limits in the kernel. ... > command to monitor the usage and adjust accordingly. ...
      (freebsd-stable)
    • Re: Semaphore scaling
      ... Don't crosspost lists. ... > semaphore limits in the kernel. ... I wish to increase the default semaphore limit of 10 to ... the ipcscommand to monitor the usage and adjust accordingly. ...
      (freebsd-stable)