Re: Why so FASTS on Windows?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Umberto Salsi wrote:
Then the question now is: why so slow on Linux?
I already said I'm a sucker?
Thank you very much to everybody and sorry for the disturb.

Fixing performance problems is not a 'disturbance' but rather an important function of a support list. Certainly on the database lists the differences between windows and linux can cause fun and often it is the case (in)sensitivity which causes it. SQL standard is upper case, linux tends to use lower, and unicode complicates things even more.

My own experience even today is that running the same versions of Apache and PHP on the same hardware dual booting between linux and windows, using the same php test suit, gives Linux a three to one advantage over Windows. So I was not to surprised at your first finding. That you have code included to handle what can be a problem if the same file name is used with different cases - and I still hit that occasionally when someone has resaved a file windows has 'tidied case on' back to linux! - would suggest that your test code is working differently on the two versions? Use something that does not worry about case and probably unicode ... is windows using just 'wide characters' which it does use efficiently but is not unicode. We do need a more easily managed way to work with Unicode characters on PHP but it is a minefield when you lob in case insensitivity :)

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux