Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a162a3

Browse files
committed
Add to thread item.
1 parente0c9301 commit9a162a3

File tree

1 file changed

+62
-0
lines changed

1 file changed

+62
-0
lines changed

‎doc/TODO.detail/thread

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,3 +578,65 @@ Myron Scott
578578
mkscott@sacadia.com
579579

580580

581+
From lamar.owen@wgcr.org Thu Jun 28 11:14:10 2001
582+
Return-path: <lamar.owen@wgcr.org>
583+
Received: from www.wgcr.org (IDENT:root@www.wgcr.org [206.74.232.194])
584+
by candle.pha.pa.us (8.10.1/8.10.1) with ESMTP id f5SFE9U18758
585+
for <pgman@candle.pha.pa.us>; Thu, 28 Jun 2001 11:14:09 -0400 (EDT)
586+
Received: from lowen.wgcr.org (IDENT:lowen@[10.1.2.3])
587+
by www.wgcr.org (8.9.3/8.9.3/WGCR) with SMTP id LAA11879;
588+
Thu, 28 Jun 2001 11:14:14 -0400
589+
Content-Type: text/plain;
590+
charset="iso-8859-1"
591+
From: Lamar Owen <lamar.owen@wgcr.org>
592+
To: Bruce Momjian <pgman@candle.pha.pa.us>
593+
Subject: Process weight (was:Re: [GENERAL] Re: Red Hat to support PostgreSQL)
594+
Date: Thu, 28 Jun 2001 11:14:09 -0400
595+
X-Mailer: KMail [version 1.2]
596+
References: <200106272258.f5RMwIb26959@candle.pha.pa.us>
597+
In-Reply-To: <200106272258.f5RMwIb26959@candle.pha.pa.us>
598+
MIME-Version: 1.0
599+
Message-ID: <01062811140902.01118@lowen.wgcr.org>
600+
Content-Transfer-Encoding: 8bit
601+
Status: ORr
602+
603+
On Wednesday 27 June 2001 18:58, Bruce Momjian wrote:
604+
> > I had almost given up on using Postgres for this system because under
605+
> > Solaris, it just couldn't cut it (MySQL could do the work with one CPU
606+
> > while Postgres took up even more CPU and required *both* CPUs to be
607+
> > enabled), but when we moved the system to a Linux box, things worked
608+
> > much better.
609+
610+
> Ah, back to a PostgreSQL topic. :-)
611+
612+
> My guess on this one is that Solaris is slower for PostgreSQL because
613+
> process switching is _much_ heavier on Solaris than other OS's. This is
614+
> because of the way they implemented processes in SVr4. They got quite
615+
> heavy, almost requiring kernel threads so you weren't switching
616+
> processes all the time.
617+
618+
Now, the question of the week:
619+
Is supporting a thread model for an inefficient OS a desirable thing to do,
620+
when more efficient OS kernels are available such as FreeBSD 4.x and Linux
621+
2.4? My opinion is that our existing model, when used with a
622+
connection-pooling frontend, is rather efficient. (Yes, I use a
623+
connection-pooling frontend. Performance is rather nice, and I don't have to
624+
have a full backend spawned for every page hit.)
625+
626+
In fact, on a Linux box threads show as processes. While I know that the
627+
kernel actually supports themin a slightly different manner than processes,
628+
they have more similarities than differences.
629+
630+
However, even on OS's where threads are supported, the mechanism to support
631+
those threads must be an efficient one -- not all pthreads libraries are
632+
created equal. Many are frontends (expensive ones, at that) for plain old
633+
processes.
634+
635+
Does anyone know of a resource that details the 'weight' of processes for our
636+
supported platforms? [reply off-list -- I'll be glad to summarize responses
637+
to HACKERS, ADMIN, or PORTS, as appropriate, if desired.]
638+
--
639+
Lamar Owen
640+
WGCR Internet Radio
641+
1 Peter 4:11
642+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp