![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | [resolved] MySQL performance under Vista | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Joined: 22 Dec 2007 |
Posts: 38 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Sun Jan 20, 2008 8:48 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
I have two machines side-by-side:
1) XP-Pro, Dual Core, 4gb RAM
1) Vista, Dual Core, 4gb RAM
Before upgrading my Vista machine from 1gb to 4gb, it was sooooo slow. After the upgrade, it pastes XP in almost every perfomance test, including PhpEd.
Idling, it was using almost a gig of RAM and paging everything else. It's a memory hog, so you gotta feed it.
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Site Admin
Joined: 13 Jul 2003 |
Posts: 8351 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Wed Jan 23, 2008 11:59 am |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
Quote: | I think the problem's in the MySQL routines, specifically the connect which took 3.4ms under XP and takes over 3 seconds on Vista |
Please consider posting thins info on mysql and php-general forums.
I'm not sure if we have anything to do with performance of mysql+php under Vista.
Personally, I'd suggest to check IP->name and name->IP resolution. For tests with localhost it's crusial to have hosts file with 127.0.0.1 localhost in (see C:\Windows\system32\drivers\etc\hosts)
|
_________________ The PHP IDE team
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
Joined: 11 Jun 2007 |
Posts: 16 |
|
|
![](./templates/Morpheus/images/spacer.gif) |
Posted: Wed Jan 23, 2008 12:46 pm |
|
![](./templates/Morpheus/images/posttop_left.gif) |
![Reply with quote Reply with quote](templates/Morpheus/images/lang_english/blue/icon_quote.gif) |
![](./templates/Morpheus/images/spacer.gif) |
![](./templates/Morpheus/images/spacer.gif) |
dmitri wrote: | Quote: | I think the problem's in the MySQL routines, specifically the connect which took 3.4ms under XP and takes over 3 seconds on Vista |
Please consider posting thins info on mysql and php-general forums.
I'm not sure if we have anything to do with performance of mysql+php under Vista.
Personally, I'd suggest to check IP->name and name->IP resolution. For tests with localhost it's crusial to have hosts file with 127.0.0.1 localhost in (see C:\Windows\system32\drivers\etc\hosts) |
Thanks. I already have a hosts file with a localhost entry in it.
I'm baffled by this and will do as you suggest and try to get an answer from the MySQL/PHP forums. It seems that all database activity to localhost is slow on my machine, particularly the connect.
|
|
![](./templates/Morpheus/images/ftr_right.gif) |
![](./templates/Morpheus/images/blue/hdr_left_post.gif) | | ![](./templates/Morpheus/images/blue/hdr_right_blue.gif) |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
| ![](./templates/Morpheus/images/spacer.gif) |