473,399 Members | 3,656 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

PHP slow on solaris

Hi Everyone,

Does anybody knows why php runs so damm slow on solaris.
PHP works fine, but if you use the array function it get really slow.

everyone could try it on different platforms.

fill a array with 100.000 elements in a loop and you will see what i mean.

debugger output shows that php ist trying to get memory for each element.
--> anybody know how to tune this in solaris or php ?

Debugger:
0.1952 brk(0x005923A8) = 0
0.1954 brk(0x005923A8) = 0
0.1954 brk(0x005943A8) = 0
0.1955 brk(0x005943A8) = 0
0.1956 brk(0x005963A8) = 0
0.1958 brk(0x005963A8) = 0
0.1958 brk(0x005983A8) = 0
0.1960 brk(0x005983A8) = 0
0.1960 brk(0x0059A3A8) = 0
0.1962 brk(0x0059A3A8) = 0
0.1962 brk(0x0059C3A8) = 0
0.1963 brk(0x0059C3A8) = 0
0.1964 brk(0x0059E3A8) = 0
0.1965 brk(0x0059E3A8) = 0
0.1966 brk(0x005A03A8) = 0
0.1967 brk(0x005A03A8) = 0
0.1968 brk(0x005A23A8) = 0
0.1969 brk(0x005A23A8) = 0
.......
0.5216 brk(0x012483A8) = 0
0.5218 brk(0x012483A8) = 0
0.5218 brk(0x0124A3A8) = 0
0.5219 brk(0x0124A3A8) = 0
0.5220 brk(0x0124C3A8) = 0

thanks in advance
Mike
Jul 17 '05 #1
0 1981

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tony | last post by:
what package should I be downloading for solaris intel. Is there a howto on how to install it for solaris intel?
1
by: Mark Nelson | last post by:
Hi I'm trying to build Imaging 1.1.4 in Solaris 9, I get passwd the first step i.e the building of libImging. However when I execute a python setup.py build I get the following error - gcc...
0
by: Bob Swerdlow | last post by:
I'm trying to install MySQLdb 0.9.2 so I can access my MySQL database from python under Solaris 8. I found the notes on changing the include and lib paths and it seems to find them okay, but when...
0
by: rkusenet | last post by:
We are using a really old version of Solaris 2.6. Mysql.com site does not seem to have mysql binaries for this version of Solaris. The earliest version they have is for Solaris 8, which I believe...
0
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile....
2
by: kepioo | last post by:
Hi all, I am trying to install PIL with python 2.3 on solaris X86, but I get this error message : building '_imaging' extension creating build/temp.solaris-2.10-i86pc-2.3 creating...
13
by: Mary Lei | last post by:
Does anyone know the link to obtain the tarball for db2 8.1 for solaris running on AMD 64 bit ? This is the entire db2 installation on a new system that does not have db2. Thanks.
33
by: nw | last post by:
Hi all, I'm constantly confronted with the following two techniques, which I believe often produce less readable code, but I am told are faster therefore better. Can anyone help me out with...
0
by: mg | last post by:
When make gets to the _ctypes section, I am getting the following in my output: building '_ctypes' extension creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/ Modules/_ctypes...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.