Hi Alex, happy new year. You should have a week's holiday. :-)
I think that if jobs are independent, then they should run faster in separate
computers because there will be fewer resources conflict, memory bus, semaphores
etc. But only you can verify it for your own applications.
Without knowing your c++ socket server it's hard to tell anything specific. But
I think every TCP connection should already use a different PORT which is
assigned by OS during cloning accepted socket.
Alex Rufon wrote:
Is this (max 24 J tasks) windows or web server limitation?
Hmmm. This made me think of something. You see, the windows service that I
wrote to accept J invocation through TCP is in C++ and theoretically can
infinitely create new threads to run J instances ... the catch is theres
supposed to be a maximum number of TCP connection the the Windows Socket can
handle on the same PORT. I'll look into this but maybe somebody has already
info ...
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Alex Rufon
Sent: Sat 2/17/2007 4:16 PM
To: General forum
Subject: RE: [Jgeneral] J use of Multi CPU servers
Hello bill,
More computers that more CPU? You see the cheapest production server that I
have is a 2 CPU Intel Xeon 3.0Ghz HP-Compaq rack server with 2GB RAM. And this
is a dedicated server running only J. :D My best one has 4 CPU Intel Xeon
3.0Ghz HP-Compaq rack server with 8GB ram but alas on this one J shares it with
MS-SQL.
About memory management, if you would look in my C# J Session wrapper in
http://www.jsoftware.com/jwiki/Guides/J_CSharp#head-657861bc638169ed65f08e52c7d641cce98bf758
, I make sure that unused J instances are released from memory. Actually,
trivial J calls like sorting or picking are done the client and the servers are
reserved for operations that would take more than a minute to complete. I
basically decide which onesrun on the clients machine or which ones on the
server during design.
Still, can you elaborate more on your opinion on my case? I might learn
something new. :)
r/Alex
P.S.
Hong Kong airport is GREAT! FREE WiFi Internet Access! My flight is 6PM and
I've been here since 11am and I've been surfing and playing Guild Wars all day!
:D
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of bill lam
Sent: Fri 2/16/2007 11:16 PM
To: General forum
Subject: Re: [Jgeneral] J use of Multi CPU servers
Alex Rufon wrote:
they need to execute a related service. May biggest concurrent number of
J instance running is 24 (I counted the instances in Windows Task
Is this (max 24 J tasks) windows or web server limitation?
I found that jconsole application need 5 to 15 MB. So 24 J tasks already need
about 15*24=360 MB. Having one J task for each request is not very scalable, it
seems that you need more computers than more cpu.
------------------------------------------------------------------------
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm