On Mon, 2005-04-04 at 16:06 +0100, Steven Moore wrote:
> Now this may be a stupid question so feel free to shout at me.
> If Perl is an interpreted language is there anyway that it the server 
> software could be compiled for each platform for increased performance?

any way at all? sure. But it is unlikely to yield the performance
bump you would hope for even if it was easy. It is more
cost effective to just upgrade the computer.

First, being interpreted does not mean "slower than compiled"
as many modern languages are interpreted and then optimized.

Second, you can't optimize performance without looking
at what is slow. The SlimServer doesn't do a lot of 
complex calculations, it mostly reads files and pushes
out the bytes. And it deals with generating and displaying
HTML and getting responses from the user. Any time you
go to the disk, main processing performance ceases to
be an issue. Similarly, any time you talk to
the ethernet, main CPU is not the gating factor.
More importantly, any time you talk to
a human, the computer has nothing to do for nearly forever.

Third, a fair amount of the SlimServer performance "issues"
are due to the code's monolithic structure. To solve these,
the code will have to be refactored, which is a bigger
development effort than even the 6.* release. The developers
are talking about this, but it will be big and painful, 
probably no sooner than version 7.*

I ran my slimserver 5.* on a P2 500 for several years
without problems. I replaced it with a 2800+ just
because today, the 2800+ is about as cheap and slow
as you can get. With Moore's law, new processors
get cheaper and faster much more easily than
refactoring software.


-- 
Pat                             
http://www.pfarrell.com/music/slimserver/slimsoftware.html

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to