Re: Libpq is very slow on windows but fast on linux.

From: Antonio Goméz Soto <antonio(dot)gomez(dot)soto(at)gmail(dot)com>
To: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
Cc: Rob Brown-Bayliss <r(dot)brown(dot)bayliss(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Libpq is very slow on windows but fast on linux.
Date: 2010-11-10 07:32:11
Message-ID: 4CDA4A7B.8080006@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Op 10-11-10 08:22, Alban Hertroys schreef:
> On 10 Nov 2010, at 5:19, Rob Brown-Bayliss wrote:
>
>> Further testing shows it is windows networking causing the issue.
>> Copying files to and from the server is 5 to 6 times slower on a
>> Windows client compared to the Linux client.
>>
>> The issue is not specific to libpq.
>
> Do both machines have similar hardware? If the Linux machine has a proper NIC (intel, for example) while the Windows machine
> has a poor NIC (Realtek!), then of course you would get differences in performance.
>

Not that much, in the past I have seen differences in performance between Intel and Realtek,
20-30% yes, but never by a factor of 5 or 6.

Antonio

> I'm not saying Microsofts network stack is particularly good, mind you, just that it isn't necessarily the main cause.
> One of the problems Windows is facing is that, while supporting a lot of hardware is a good thing in general, it also
> supports all the crap hardware, crap drivers and crap ACPI implementations.
>
> Alban Hertroys
>
> --
> Screwing up is an excellent way to attach something to the ceiling.
>
>
> !DSPAM:737,4cda484310265265216060!
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2010-11-10 07:37:54 Re: Libpq is very slow on windows but fast on linux.
Previous Message Alban Hertroys 2010-11-10 07:22:24 Re: Libpq is very slow on windows but fast on linux.