Обсуждение: freebsd performance
Hi all, I try to find OS with better performance. At the mement we are using linux RH AS 3.0 and I think it is not the best possible. So my test server: Dual Pentium III 1 GHz 1.5 GB ram 30 GB ATA 7200 HDD. pg 7.4.2 I installed freebsd 5.2.1 (It is my first try on it). and ran the same db and pg setup. So I see 30% slower freebsd box compared to linux RH. My question: exists any special setups into freebsd to get it running faster? Also any good docs about configuring freebsd for postgresql will helpfull . regards, ivan.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 pginfo wrote: | Hi all, | | I try to find OS with better performance. | At the mement we are using linux RH AS 3.0 and I think it is not the | best possible. | I'm not into the BSD-vs-Linux thing, but before you consider switching you might want to think about the fact that there is a reason why Redhat EL costs money, and if you've paied for it then you might want to get something back. Their kernels are excellent, so better learn how to tune them for what postgresql needs from the OS. There's plenty of information out there for tuning postgresql on linux, and you should probably get some good answers from redhat too. Best of luck to you. | So my test server: | Dual Pentium III 1 GHz | 1.5 GB ram | 30 GB ATA 7200 HDD. | pg 7.4.2 | | I installed freebsd 5.2.1 (It is my first try on it). | and ran the same db and pg setup. | So I see 30% slower freebsd box compared to linux RH. | | My question: | exists any special setups into freebsd to get it running faster? | Also any good docs about configuring freebsd for postgresql will helpfull . | | regards, | ivan. | | ---------------------------(end of broadcast)--------------------------- | TIP 9: the planner will ignore your desire to choose an index scan if your | joining column's datatypes do not match | | - -- Radu-Adrian Popescu CSA, DBA, Developer Aldratech Ltd. +40213212243 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAlf/9VZmwYru5w6ERAuK3AKCCfXfFyqNvkPcZIqcpxpqJA+NQvACdGtYt 5pkMIN+Cq1LZIN1jOar5jsk= =rxYP -----END PGP SIGNATURE-----
Try looking at your kernel- make sure that you don't have any debugging turned on, and comment out all unnecessary devices. Read the man page on tuning. What is slow? Are any metrics at 100%, i.e. IO or CPU? If you need more help, please provide additional information. Corey pginfo <pginfo@t1.unisoftbg. To: pgsql-admin@postgresql.org com> cc: Sent by: Subject: [ADMIN] freebsd performance pgsql-admin-owner@pos tgresql.org 05/02/2004 03:41 AM Hi all, I try to find OS with better performance. At the mement we are using linux RH AS 3.0 and I think it is not the best possible. So my test server: Dual Pentium III 1 GHz 1.5 GB ram 30 GB ATA 7200 HDD. pg 7.4.2 I installed freebsd 5.2.1 (It is my first try on it). and ran the same db and pg setup. So I see 30% slower freebsd box compared to linux RH. My question: exists any special setups into freebsd to get it running faster? Also any good docs about configuring freebsd for postgresql will helpfull . regards, ivan. ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match