From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | keshav upadhyaya <ukeshav2009(at)gmail(dot)com> |
Cc: | pgsql-novice(at)postgresql(dot)org |
Subject: | Re: [PERFORM] Regarding facing lot of time Consumed by Socket.Poll() |
Date: | 2009-10-17 10:56:56 |
Message-ID: | 603c8f070910170356n1b146447x43e8cccf0aaabd77@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice pgsql-performance |
On Thu, Oct 15, 2009 at 10:02 AM, keshav upadhyaya
<ukeshav2009(at)gmail(dot)com> wrote:
> Hi ,
>
> In my project I use Nhibernate to connect to Postgres.
> Currently it is very slow.
>
> I have used Yourkit profiller to get some key informaitons.
> In CPU profilling i have analyzed following things : -
> Let me explain one by one : -
>
> 1- NHibernate.Impl.SessionImpl.DoLoad(Type, Object, Object, LockMode,
> Boolean)
>
> Takes lots of time .
>
> 2- Internally it calls thse function i am listing the last stack
>
> NpgsqlConnector.Open()
> Npgsql.NpgsqlConnectedState.Startup(NpgsqlConnector)
> Npgsql.NpgsqlState.ProcessBackendResponses(NpgsqlConnector)
> [Wall Time] System.Net.Sockets.Socket.Poll(Int32, SelectMode)
>
> Finally in last the socket.poll takes most of the time .
>
>
> I want to know the probably causes of the socket.poll() consumes allot of
> time .
>
> Please help me out to know the places why in DoLoad,DoLoadByClass and
> Socket.Poll is taking lot of time .
>
> What are the scenario in which it might be getting slow down , Which i need
> to look .
I'm not sure that you're going to get too much help with this one on
this mailing list. It's not really a PostgreSQL question. You might
try the npgsql guys...
...Robert
From | Date | Subject | |
---|---|---|---|
Next Message | Юлия Дубинина | 2009-10-18 00:26:18 | delete fails with out of memory |
Previous Message | Andreas Kretschmer | 2009-10-17 07:55:17 | Re: NULL DATE |
From | Date | Subject | |
---|---|---|---|
Next Message | Vikul Khosla | 2009-10-17 15:21:38 | Re: Indexes on low cardinality columns |
Previous Message | decibel | 2009-10-17 03:51:50 | Re: UUID as primary key |