Re: Dual core install problems with ichiic

2009-10-28 Thread Kenneth R Westerback
On Wed, Oct 28, 2009 at 04:14:55AM -0500, Marcus Booth wrote:
 With good advice supplied earlier, I was able to get my install booting on
 an intel dual core after some of you
 suggested disabling ichiic.  While struggling (prior to the advice) with
 that, I installed on a quad core with Gigabyte mobo and had
 no problems at all.  AFter the succesful boot on the dual core I tried to
 enable softraid and rebuilt the kernel.  That yielded a kernel panic so
 I reverted to the old kernel.  Would the gigabyte mobo possibly solve the
 ichiic problem as well as the kernel panic issues?
 Thanks,
 Marcus Booth
 

Hard to tell without seeing the trace from the panic.

As far as I can see softraid was enabled by default in GENERIC in
November of 2007, so it's also unclear what you mean by 'enable
softraid and rebuilt the kernel'.

 Ken



Re: Dual core install problems with ichiic

2009-10-28 Thread Marcus Booth
I looked through GENERIC after reading a bit and uncommented this

#pseudo-device raid 4

  I also added the following line after reading a tutorial.

option   RAID_AUTOCONFIG

The OBSD FAQ indicates I have to uncomment the first line to get raid
support.  Am I missing something?
Thanks


On Wed, Oct 28, 2009 at 5:40 AM, Kenneth R Westerback 
kwesterb...@rogers.com wrote:

 On Wed, Oct 28, 2009 at 04:14:55AM -0500, Marcus Booth wrote:
  With good advice supplied earlier, I was able to get my install booting
 on
  an intel dual core after some of you
  suggested disabling ichiic.  While struggling (prior to the advice) with
  that, I installed on a quad core with Gigabyte mobo and had
  no problems at all.  AFter the succesful boot on the dual core I tried to
  enable softraid and rebuilt the kernel.  That yielded a kernel panic so
  I reverted to the old kernel.  Would the gigabyte mobo possibly solve the
  ichiic problem as well as the kernel panic issues?
  Thanks,
  Marcus Booth
 

 Hard to tell without seeing the trace from the panic.

 As far as I can see softraid was enabled by default in GENERIC in
 November of 2007, so it's also unclear what you mean by 'enable
 softraid and rebuilt the kernel'.

  Ken



Re: Dual core install problems with ichiic

2009-10-28 Thread Vadim Zhukov
On 28 October 2009 c. 14:13:52 Marcus Booth wrote:
 I looked through GENERIC after reading a bit and uncommented this

 #pseudo-device raid 4

   I also added the following line after reading a tutorial.

 option   RAID_AUTOCONFIG

 The OBSD FAQ indicates I have to uncomment the first line to get raid
 support.  Am I missing something?

Yes. Those options are related to RAIDFrame, see raid(4).

--
  Best wishes,
Vadim Zhukov

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Joachim Schipper
On Sun, Aug 27, 2006 at 01:39:51AM -0400, [EMAIL PROTECTED] wrote:
 I am pricing out two servers right now.
 
 One server will be an Apache/PHP web server. The other will be a  
 MySQL database server.
 
 I plan to install OpenBSD 3.9-stable and PHP and MySQL packages.
 
 These server will be Dell PowerEdge 1950.
 
 Each will have a Dual Core Xeon 5060 (3.20Ghz with 1066Mhz FSB).
 
 Knowing the setups I'm gonna be using (the one's mentioned above),  
 and I gonna get much performance increase by adding a second  
 processor (the same type of course) to these server?
 
 Is OpenBSD and Apache/PHP gonna take advantage of a second processor  
 and show some decent increase in performance or am I throwing money  
 away on the second processor?

A second processor might be a good investment here. Of course, two
servers is also worth considering, as such a setup is likely to be, at
least, more robust in the face of hardware failures. (It's also more
complex...)

 Same for OpenBSD and MySQL. Am I gonna be throwing money away by  
 purchasing a second processor for it?

Possibly, yes. MySQL is threaded, and the OpenBSD threads implementation
isn't the fastest possible (it's all in userland, so there's only one
kernel-level process/thread).

If using a better database (PostgreSQL comes to mind) is not an option,
you might want to consider using another system - like FreeBSD - for
this; MySQL performance isn't terribly good, even on a uniprocessor
system, anyway.

This does, of course, not mean that it is unusable by any means; many
people run MySQL on OpenBSD and are quite happy with performance,
stability, and so on. Me, I dislike MySQL for other reasons.

 Lastly, default server will be coming with 1 GB of RAM. I plan to  
 upgrade both servers to 4 GB of RAM each? Is this worth spending the  
 money or am I wasting it here as well?

Note you'll need a recent version to use  2 GB RAM on i386.

 I don't mind spending the money on extra RAM and processors if the  
 server setups I'm planning on using will take advantage of it. I'm  
 too new to OpenBSD to know if I would wise in the extra spending or not.

Joachim



Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Eric Stewart

On Aug 27, 2006, at 9:33 AM, Joachim Schipper wrote:


On Sun, Aug 27, 2006 at 01:39:51AM -0400, [EMAIL PROTECTED] wrote:

I am pricing out two servers right now.

One server will be an Apache/PHP web server. The other will be a
MySQL database server.

I plan to install OpenBSD 3.9-stable and PHP and MySQL packages.

These server will be Dell PowerEdge 1950.

Each will have a Dual Core Xeon 5060 (3.20Ghz with 1066Mhz FSB).

Knowing the setups I'm gonna be using (the one's mentioned above),
and I gonna get much performance increase by adding a second
processor (the same type of course) to these server?

Is OpenBSD and Apache/PHP gonna take advantage of a second processor
and show some decent increase in performance or am I throwing money
away on the second processor?


A second processor might be a good investment here. Of course, two
servers is also worth considering, as such a setup is likely to be, at
least, more robust in the face of hardware failures. (It's also more
complex...)


Same for OpenBSD and MySQL. Am I gonna be throwing money away by
purchasing a second processor for it?


Possibly, yes. MySQL is threaded, and the OpenBSD threads  
implementation

isn't the fastest possible (it's all in userland, so there's only one
kernel-level process/thread).


I picked up a little bit about this single kernel-level thread and  
multiple userland threads but I don't quite understand it. Are there  
any good articles or documentation somewhere that better explains this?




If using a better database (PostgreSQL comes to mind) is not an  
option,

you might want to consider using another system - like FreeBSD - for
this; MySQL performance isn't terribly good, even on a uniprocessor
system, anyway.

This does, of course, not mean that it is unusable by any means; many
people run MySQL on OpenBSD and are quite happy with performance,
stability, and so on. Me, I dislike MySQL for other reasons.


The thought of using something other than MySQL has crossed my mind.  
But I'm trying not to stray to far from what I already know. I  
usually farm out the server maintenance to another company but I  
decided to do it myself on this project. So I've chosen OpenBSD as  
the platform to go with. Changing to PostgreSQL or any other database  
would add to much extra time to the project and would probably cause  
me to miss my deadlines. MySQL has been very good to me in the past,  
but I never had to worry about the OS underneath it till now.


I guess if I have performance issues, I can investigate FreeBSD as  
the OS under the database server. I was just hoping to use OpenBSD  
due to it's extremely high focus on security.





Lastly, default server will be coming with 1 GB of RAM. I plan to
upgrade both servers to 4 GB of RAM each? Is this worth spending the
money or am I wasting it here as well?


Note you'll need a recent version to use  2 GB RAM on i386.


I don't mind spending the money on extra RAM and processors if the
server setups I'm planning on using will take advantage of it. I'm
too new to OpenBSD to know if I would wise in the extra spending  
or not.


Joachim




Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Henning Brauer
* Eric Stewart [EMAIL PROTECTED] [2006-08-28 01:04]:
 The thought of using something other than MySQL has crossed my mind.  
 But I'm trying not to stray to far from what I already know. I  
 usually farm out the server maintenance to another company but I  
 decided to do it myself on this project. So I've chosen OpenBSD as  
 the platform to go with. Changing to PostgreSQL or any other database  
 would add to much extra time to the project and would probably cause  
 me to miss my deadlines. MySQL has been very good to me in the past,  
 but I never had to worry about the OS underneath it till now.

it is highly unlikely that you will have to worry. given the usual 
fiddling with the config file you need to do to get mysql be a bit less 
sluggis under load, you can do very very very high query rates and 
stuff. there is a load pattern at extremely high load where our thread 
model doesn't work all that well for mysql; bets are you will not hit 
it.

-- 
BS Web Services, http://www.bsws.de/, [EMAIL PROTECTED], [EMAIL PROTECTED]
OpenBSD-based Webhosting, Mail Services, Managed Servers, ...
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: Dual-core and Dual Dual-core servers.

2006-08-27 Thread Timo Schoeler

thus Eric Stewart spake:

On Aug 27, 2006, at 9:33 AM, Joachim Schipper wrote:


On Sun, Aug 27, 2006 at 01:39:51AM -0400, [EMAIL PROTECTED] wrote:

I am pricing out two servers right now.


(...)


Is OpenBSD and Apache/PHP gonna take advantage of a second processor
and show some decent increase in performance or am I throwing money
away on the second processor?


A second processor might be a good investment here. Of course, two
servers is also worth considering, as such a setup is likely to be, at
least, more robust in the face of hardware failures. (It's also more
complex...)


Same for OpenBSD and MySQL. Am I gonna be throwing money away by
purchasing a second processor for it?


Possibly, yes. MySQL is threaded, and the OpenBSD threads implementation
isn't the fastest possible (it's all in userland, so there's only one
kernel-level process/thread).


I picked up a little bit about this single kernel-level thread and 
multiple userland threads but I don't quite understand it. Are there any 
good articles or documentation somewhere that better explains this?


Andrew S. Tanenbaum, Modern Operating Systems, Chapter 2.2.3 
(Implementing Threads in User Space), pp. 90


(...)

HTH,

timo

--
Timo Schoeler | http://riscworks.net/~tis | [EMAIL PROTECTED]
RISCworks -- Perfection is a powerful message
ISP | POWER  PowerPC afficinados | Networking, Security, BSD services
GPG Key fingerprint = B5F6 68A4 EC45 C309 6770  38C4 50E8 2740 9E0C F20A

Frankie says: Relax



Hardware Reliability, was: Re: Dual Core

2006-04-24 Thread Toni Mueller
Hello Otto,

On Tue, 18.04.2006 at 17:49:28 +0200, Otto Moerbeek [EMAIL PROTECTED] wrote:
 On Tue, 18 Apr 2006, Matt Jibson wrote:
  Some of us have had problems with dual core:
  http://marc.theaimsgroup.com/?l=openbsd-miscm=113860396723795w=2
 
 That should be solved now, try a recent snap. I've been running the
 mentioned A8N5X mb fine with a dual core amd64. That is to say, until
 it went up in smoke. 

what caused this kind of smoking?

I too thought that getting a dual-core machine (looking at a 270HE)
would be a good idea, but if hardware reliability suffers, then it
isn't (of course).

Any insights are most welcome!


Best,
--Toni++



Re: Hardware Reliability, was: Re: Dual Core

2006-04-24 Thread Otto Moerbeek
On Mon, 24 Apr 2006, Toni Mueller wrote:

 Hello Otto,
 
 On Tue, 18.04.2006 at 17:49:28 +0200, Otto Moerbeek [EMAIL PROTECTED] wrote:
  On Tue, 18 Apr 2006, Matt Jibson wrote:
   Some of us have had problems with dual core:
   http://marc.theaimsgroup.com/?l=openbsd-miscm=113860396723795w=2
  
  That should be solved now, try a recent snap. I've been running the
  mentioned A8N5X mb fine with a dual core amd64. That is to say, until
  it went up in smoke. 
 
 what caused this kind of smoking?

Well, I was speaking figuratively. Actually, it was eaten by snakes...


Well, actually, the motherboard just died after a few weeks without
any special effects. Asus quality does not seem to be really high. The
board is cheap and has 3 years warranty, though. I should be receiving
a new board any moment. Now I hope the board didn't take the processor
down with it. 

Note that the mpbios of this board has some quirks, which we (that is,
kettenis@) had to work around. So while -current runs fine, 3.9 does
not. 

 I too thought that getting a dual-core machine (looking at a 270HE)
 would be a good idea, but if hardware reliability suffers, then it
 isn't (of course).
 
 Any insights are most welcome!

-Otto



Re: Dual Core

2006-04-18 Thread Matt Jibson
Some of us have had problems with dual core:
http://marc.theaimsgroup.com/?l=openbsd-miscm=113860396723795w=2

On 4/17/06, Gustavo Rios [EMAIL PROTECTED] wrote:
 Does it make any difference to have dual core processor or not with openbsd ?

 Thanks.



Re: Dual Core

2006-04-18 Thread mickey
On Tue, Apr 18, 2006 at 09:19:55AM -0600, Matt Jibson wrote:
 Some of us have had problems with dual core:
 http://marc.theaimsgroup.com/?l=openbsd-miscm=113860396723795w=2

and where does it have any relation to the dual-core nature of the problem?
it's mpbios problem.

 On 4/17/06, Gustavo Rios [EMAIL PROTECTED] wrote:
  Does it make any difference to have dual core processor or not with openbsd 
  ?

one or two cores does not really apear any different to software.
on amd64 (numa) there could be consirderations wrt os design.
still. we are not doing any of that (yet) anyway.

cu

-- 
paranoic mickey   (my employers have changed but, the name has remained)



Re: Dual Core

2006-04-18 Thread Otto Moerbeek
On Tue, 18 Apr 2006, Matt Jibson wrote:

 Some of us have had problems with dual core:
 http://marc.theaimsgroup.com/?l=openbsd-miscm=113860396723795w=2

That should be solved now, try a recent snap. I've been running the
mentioned A8N5X mb fine with a dual core amd64. That is to say, until
it went up in smoke. 

-Otto

 
 On 4/17/06, Gustavo Rios [EMAIL PROTECTED] wrote:
  Does it make any difference to have dual core processor or not with openbsd 
  ?
 
  Thanks.



Re: Dual Core

2006-04-18 Thread Sigfred HÃ¥versen

Matt Jibson wrote:

Some of us have had problems with dual core:
http://marc.theaimsgroup.com/?l=openbsd-miscm=113860396723795w=2


Many improvements have been done since then. For my particular
motherboard (Asus A8N-SLI Premium, rev 1.02), the amd64 MP went from problematic
to working very well.

/Sigfred



Re: Dual Core

2006-04-17 Thread Daniel Ouellet

Gustavo Rios wrote:

Does it make any difference to have dual core processor or not with openbsd ?


Yes, the dual core can take advantage of the bsd.mp kernel.

It's kind of like a dual processor if you like.

It depend on the applications you run obviously, but in many cases, it 
does help.




Re: Dual Core

2006-04-17 Thread Steve Shockley

Gustavo Rios wrote:

Does it make any difference to have dual core processor or not with openbsd ?


I understand OpenBSD will use both cores, IFF your motherboard is 
mpbios-compliant, which most single-processor motherboards are not.  I 
haven't actually tried this, so I could be mistaken.