All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Cleverdon <jamesclv@us.ibm.com>
To: "Perches, Joe" <joe.perches@spirentcom.com>
Cc: "'Dave Hansen'" <haveblue@us.ibm.com>,
	Anders Fugmann <afu@fugmann.dhs.org>,
	Linux-kernel <linux-kernel@vger.kernel.org>,
	Rick Lindsley <ricklind@us.ibm.com>
Subject: Re: Chatserver workload simulator by Bill Hartner?
Date: Wed, 10 Jul 2002 13:17:39 -0700	[thread overview]
Message-ID: <200207101317.39447.jamesclv@us.ibm.com> (raw)
In-Reply-To: <629E717C12A8694A88FAA6BEF9FFCD440540AA@brigadoon.spirentcom.com>

On Tuesday 09 July 2002 09:35 am, Perches, Joe wrote:
> It's on the Linux Benchmark Suite site with several
> other useful tools...
>
> http://lbs.sourceforge.net/
> -

The chat-1.0.1.tar.gz on that page still has a memory free/use bug with the ti 
array.  I sent the patch to bhartner, but maybe he's not maintaining it 
anymore.  It only seems to cause trouble when running heavy loads.  (Maybe 
large blocks of memory get coalesced, or something.)  Anyway, here it is:

--- chat_s.c.df	Tue Jun  4 17:37:03 2002
+++ chat_s.c	Thu Jun 20 15:18:51 2002
@@ -515,7 +515,6 @@
 	int exit_rc = 0;
 	int rc = 0;
 	
-	free(ti);
 	free(s_send_stack);
 	free(s_receive_stack);
 	
@@ -533,6 +532,8 @@
 		}	
 	}
 
+	free(ti);
+
 	return(exit_rc);
 }
 


-- 
James Cleverdon
IBM xSeries Linux Solutions
{jamesclv(Unix, preferred), cleverdj(Notes)} at us dot ibm dot com


  parent reply	other threads:[~2002-07-10 20:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-09 16:35 Chatserver workload simulator by Bill Hartner? Perches, Joe
2002-07-09 18:10 ` Anders Peter Fugmann
2002-07-10 20:17 ` James Cleverdon [this message]
2002-07-10 20:35   ` Anders Peter Fugmann
  -- strict thread matches above, loose matches on Subject: below --
2002-07-09  9:09 Anders Fugmann
2002-07-09 16:27 ` Dave Hansen
2002-07-11  4:11   ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207101317.39447.jamesclv@us.ibm.com \
    --to=jamesclv@us.ibm.com \
    --cc=afu@fugmann.dhs.org \
    --cc=haveblue@us.ibm.com \
    --cc=joe.perches@spirentcom.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ricklind@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.