|
From: Sefer T. <se...@ho...> - 2003-04-20 06:45:24
|
Hi!
Oddly enough, I've been experiencing the same problem.
I'm using Linux Mandrake 9.1, which appears to come with a version of glibc
2.3.2 (but I think this was happening with older glibc's as well).
I've written a tiny skeleton server that pre-creates a few threads
(successfully) and then enters a poll loop (from which point the threads are
not getting any cpu time at all).
It seems that there is some pthreads/poll issue, but this may also be
related that I'm running everything on a laptop and we have already noticed
that there might be some scheduling problems because TSC register being used
is variable-rate on machines with power management active.
Thanks,
Sefer.
>That's very strange. V has threading problems with glibcs > 2.3.1,
>though. So I wonder if that's it. Do you have an older linux
>distro you can try it on, something like RH 7.3, or Suse 8.1 ?
>Basically anything with glibc 2.3.1 or before; 2.2.5 would be
>even better.
>J
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
|
|
From: Todd R. <ric...@pr...> - 2003-04-20 07:04:29
|
My tests were on both a Gigabyte athlon XP and a Dell 2.53 p4. I was also
about to write a smaller test program, but it looks like you beat me to it -
thx
Todd
----- Original Message -----
From: "Sefer Tov" <se...@ho...>
To: <val...@li...>
Sent: Saturday, April 19, 2003 11:45 PM
Subject: [Valgrind-users] Re: valgrind / pthreads issue
> Hi!
>
> Oddly enough, I've been experiencing the same problem.
> I'm using Linux Mandrake 9.1, which appears to come with a version of
glibc
> 2.3.2 (but I think this was happening with older glibc's as well).
>
> I've written a tiny skeleton server that pre-creates a few threads
> (successfully) and then enters a poll loop (from which point the threads
are
> not getting any cpu time at all).
>
> It seems that there is some pthreads/poll issue, but this may also be
> related that I'm running everything on a laptop and we have already
noticed
> that there might be some scheduling problems because TSC register being
used
> is variable-rate on machines with power management active.
>
> Thanks,
> Sefer.
>
>
> >That's very strange. V has threading problems with glibcs > 2.3.1,
> >though. So I wonder if that's it. Do you have an older linux
> >distro you can try it on, something like RH 7.3, or Suse 8.1 ?
> >Basically anything with glibc 2.3.1 or before; 2.2.5 would be
> >even better.
>
> >J
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Valgrind-users mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
|
|
From: Julian S. <js...@ac...> - 2003-04-20 23:54:48
|
Good. So can I have a copy of the skeleton server to try, + instructions on how to use it? J > Oddly enough, I've been experiencing the same problem. > I'm using Linux Mandrake 9.1, which appears to come with a version of glibc > 2.3.2 (but I think this was happening with older glibc's as well). > > I've written a tiny skeleton server that pre-creates a few threads > (successfully) and then enters a poll loop (from which point the threads > are not getting any cpu time at all). > > It seems that there is some pthreads/poll issue, but this may also be > related that I'm running everything on a laptop and we have already noticed > that there might be some scheduling problems because TSC register being > used is variable-rate on machines with power management active. > > Thanks, > Sefer. > > >That's very strange. V has threading problems with glibcs > 2.3.1, > >though. So I wonder if that's it. Do you have an older linux > >distro you can try it on, something like RH 7.3, or Suse 8.1 ? > >Basically anything with glibc 2.3.1 or before; 2.2.5 would be > >even better. > > > >J > > _________________________________________________________________ > Add photos to your messages with MSN 8. Get 2 months FREE*. > http://join.msn.com/?page=features/featuredemail > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |
|
From: David E. <da...@2g...> - 2003-04-21 08:18:07
|
On Mon, 2003-04-21 at 01:54, Julian Seward wrote: > Good. So can I have a copy of the skeleton server to try, + instructions > on how to use it? Did you look at my example code that probably shows the same problem? See this mail I sent a week ago: http://sourceforge.net/mailarchive/message.php?msg_id=4347499 Regards, -\- David Eriksson -/- www.2GooD.nu "I personally refuse to use inferior tools because of ideology." - Linus Torvalds |
|
From: Todd R. <ric...@pr...> - 2003-04-23 08:38:33
|
I finally rebuilt a machine(Dell Pentium Xenon) with vanilla Redhat 8.0 and
the pthread poll() problem disapeared so it must be some issue with the
later glibc. However, this system claims an incorrect 1 4byte read and 1 4
byte write error in select() (seemingly valid code) when validating a perl
program that does not occur on newer systems...
Todd
----- Original Message -----
From: "Sefer Tov" <se...@ho...>
To: <val...@li...>
Sent: Saturday, April 19, 2003 11:45 PM
Subject: [Valgrind-users] Re: valgrind / pthreads issue
> Hi!
>
> Oddly enough, I've been experiencing the same problem.
> I'm using Linux Mandrake 9.1, which appears to come with a version of
glibc
> 2.3.2 (but I think this was happening with older glibc's as well).
>
> I've written a tiny skeleton server that pre-creates a few threads
> (successfully) and then enters a poll loop (from which point the threads
are
> not getting any cpu time at all).
>
> It seems that there is some pthreads/poll issue, but this may also be
> related that I'm running everything on a laptop and we have already
noticed
> that there might be some scheduling problems because TSC register being
used
> is variable-rate on machines with power management active.
>
> Thanks,
> Sefer.
>
>
> >That's very strange. V has threading problems with glibcs > 2.3.1,
> >though. So I wonder if that's it. Do you have an older linux
> >distro you can try it on, something like RH 7.3, or Suse 8.1 ?
> >Basically anything with glibc 2.3.1 or before; 2.2.5 would be
> >even better.
>
> >J
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Valgrind-users mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>
|