>Date: Fri, 17 Mar 2000 10:46:31 -0800 (PST) >X-Sender: [EMAIL PROTECTED] >Message-Id: <v03007815b4f7b773fdbf@[206.16.10.107]> >In-Reply-To: <[EMAIL PROTECTED]> >Mime-Version: 1.0 >Content-Type: text/plain; charset="us-ascii" >To: "Jochen F. Rick" <[EMAIL PROTECTED]> >Subject: Re: New PPC VM >Cc: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], > [EMAIL PROTECTED], [EMAIL PROTECTED], > "Raab, Andreas" <[EMAIL PROTECTED]>, [EMAIL PROTECTED], > "Lazarevic, Alexander" <[EMAIL PROTECTED]> > > >From "Jochen F. Rick" <[EMAIL PROTECTED]>: > > >Earlier I reported that there might be a problem with the new PPC > >networking VM in that it looks like the server is still running, but you > >cannot connect to it. I NO LONGER BELIEVE THIS TO BE THE CASE. We have > >been having problems with our AppleTalk at Tech and that was the culprit. > >It just turned out that the first two machines that had that problem were > >using the new VM. I will now start using the NewVM on some of our servers > >to see how it performs with high stress. > >Actually, there *could* be a problem of running out of sockets under >high load with the new VM. The reason is that it doesn't reserve >quite as much memory for the C heap as the older VM did, which is >better on memory-tight machines. > >Fortunately, there is a way to ask for more C heap when you really >need it, as you do. Here's how: > > 1. Start up your server image. > 2. Evaluate "Smalltalk extraVMMemory: 600000" > 3. Save the image > 4. Restart Squeak with that image > 5. Start up your server as normal > >The default VM has enough C heap for 11 sockets. The maximum number >of sockets you can get is 64 with our current MacTCP-based >implementation, and the above setting gives you that many. > >One check you can do is this. Before doing any networking code print: > > Socket initializeNetwork. > socks _ (1 to: 64) collect: [:i | Socket newTCP]. > n _ (socks select: [:s | s isValid]) size. > socks do: [:s | s destroy]. > n > >This will try to create 64 sockets, count how many were successfully >created, release them and, and print the count. Before setting the >VM memory, you'll see that it is 11, afterwards it should be 64. > >Happy serving with Squeak! > > -- John > >P.S. Oh, one more thing. The VM I sent you does have a problem; it >doesn't correctly bind to built-in external primitives properly. >I will send you a fixed VM seperately. However, this problem is >unlikely to show up on a pure server, since most of the built-in >external primitives are for things not usually done on a server, >such as Balloon rendering. -------------------------- Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280 (404) 894-5618 : Fax (404) 894-0673 : [EMAIL PROTECTED] http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html
