Re: Slow install of Ruby 18 from ports

2006-09-14 Thread Andrew Pantyukhin

On 9/14/06, Olivier Nicole [EMAIL PROTECTED] wrote:

 I don't know why. I'm running DNS server on old Celeron 400Mhz with
 96MB RAM just fine. Why do you think you need Xeon dual core for that?

Of course I don't, and won't.

I was just replying to the guy that told me that I am using archaic
hardware and that it makes building ruby slow.

I do use a number of PIII servers (more than Xeon) and am very happy
with them.


I'm sorry, I didn't mean to aggravate you in any way. PIII is not
archaic, but it's certainly old. Nevertheless, we've got a number
of PIII boxes in production, and even some older Cyrix ones in
our lab - and are quite happy with them.

Old hardware is just a half of the deadly recipe. The other half
is old FreeBSD. Again, we've got one dual PIII box running
FreeBSD 4.7 - under very heavy load with no issues. YMMV,
but I would upgrade to 6.1 or 6.2 all the same.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow install of Ruby 18 from ports

2006-09-14 Thread Karol Kwiatkowski
On 14/09/2006 04:05, Olivier Nicole wrote:
 I don't know why. I'm running DNS server on old Celeron 400Mhz with
 96MB RAM just fine. Why do you think you need Xeon dual core for that?
 
 Of course I don't, and won't.
 
 I was just replying to the guy that told me that I am using archaic
 hardware and that it makes building ruby slow.
 
 I do use a number of PIII servers (more than Xeon) and am very happy
 with them.

OK, I'm guilty of not reading the whole thread, I apologise.
(note to self: don't reply while half asleep)

Just out of curiosity I tried ruby port on two machines - fast one
(1.6GHz Athlon with 1GB RAM) and small one (400MHz with 96MB RAM).
Fast one has no problems with ruby, it builds and installs in few
minutes. The slow one is another story, however.

build time, no problem here:
460.448u 63.175s 9:52.80 88.3%  3844+2249k 911+151io 308pf+0w

install time:
565.634u 72.527s 1:46:30.87 9.9%11+-4438k 1711+40io 464794pf+4w

At least that how it looked when I pressed ^C

The machine was slow, swapping a lot (about 150MB of swap used), with
CPU idling most of the time. I guess Ruby being scripted language
doesn't help performance, either.

Installing from a package takes about 3 minutes, however. I've never
noticed problems with ruby because I build all needed packages on a
fast machine (having a lot of memory helps), then install them on the
small ones.

To sum up, try using a package instead[1].

HTH,

Karol

[1] There's another option - make the port not to generate
documentation but that would mean hacking it, I don't see any knobs to
do that.

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Slow install of Ruby 18 from ports

2006-09-14 Thread Olivier Nicole
 Just out of curiosity I tried ruby port on two machines - fast one
 (1.6GHz Athlon with 1GB RAM) and small one (400MHz with 96MB RAM).
 Fast one has no problems with ruby, it builds and installs in few
 minutes. The slow one is another story, however.

There is definitely something in teh building of ruby (I beleive in
the test part), looks like it does a complete disk scanning (to find
possible libraries?) during that period when it seems to be idled,
disk are being accessed like carzy.

Anyway, after a night at it, it finally installs :)

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Andrew Pantyukhin

On 9/12/06, Olivier Nicole [EMAIL PROTECTED] wrote:

Hi,

I am upgrading a few servers. I have noticed that on pentium III, it
takes a VERY long time to upgrade Ruby 1.8.

It blocks at some stage saying:


 zlib.c: 
mcc...
Generating RI...

Eventually it will finich installing.

I am running RELENG 4.11 p21. Any clue?


Old FreeBSD on old hardware is a recipe for such problems.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Olivier Nicole
 Old FreeBSD on old hardware is a recipe for such problems.

Hummm, I was looking at bsdstats... majority of registered hardware is
pentium III.

I like FreeBSD because of it's hability of running well on old
hardware: why would I need a Xeon dual core to run a DNS server for 5
clients?

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Karol Kwiatkowski
On 14/09/2006 03:21, Olivier Nicole wrote:
 Hummm, I was looking at bsdstats... majority of registered hardware is
 pentium III.
 
 I like FreeBSD because of it's hability of running well on old
 hardware: why would I need a Xeon dual core to run a DNS server for 5
 clients?

I don't know why. I'm running DNS server on old Celeron 400Mhz with
96MB RAM just fine. Why do you think you need Xeon dual core for that?

Karol

-- 
Karol Kwiatkowski  freebsd at orchid dot homeunix dot org
OpenPGP: http://www.orchid.homeunix.org/carlos/gpg/0x06E09309.asc



signature.asc
Description: OpenPGP digital signature


Re: Slow install of Ruby 18 from ports

2006-09-13 Thread Olivier Nicole
 I don't know why. I'm running DNS server on old Celeron 400Mhz with
 96MB RAM just fine. Why do you think you need Xeon dual core for that?

Of course I don't, and won't.

I was just replying to the guy that told me that I am using archaic
hardware and that it makes building ruby slow.

I do use a number of PIII servers (more than Xeon) and am very happy
with them.

Bests,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Slow install of Ruby 18 from ports

2006-09-12 Thread Olivier Nicole
Hi,

I am upgrading a few servers. I have noticed that on pentium III, it
takes a VERY long time to upgrade Ruby 1.8.

It blocks at some stage saying:


 zlib.c: 
mcc...
Generating RI...

Eventually it will finich installing.

I am running RELENG 4.11 p21. Any clue?

TIA

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]