Re: [gentoo-user] CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-08 Thread Andrey Gerasimenko
On Mon, 09 Apr 2007 05:48:07 +0400, maxim wexler <[EMAIL PROTECTED]>  
wrote:



Hi group,

I note two schools of thought on the best CFLAGS for
the Pentium III processor.

One suggests using -O3 -pipe, the other, -O2 without
the pipe.

How much difference does this make? Is the extra level
of optimization with pipe the equivalent of the lower
level without?



Man gcc. -pipe allows to use pipes (memory) instead of temporary files  
(disk). -O controls the resulting binary sometimes making it fast, large,  
and unreliable. I have seen ebuilds that enforce -O2 even when -O3 is  
specified. This can create a faulty impression that -O3 always works fine.


-O and -pipe interact through the size of temporary files. Theoretically,  
-pipes may slow down compiles if there is not enough memory. Another  
factor that should be taken into account is the number of threads for  
make. For a PIII machine the generally recommended number is 2, but when  
the RAM is limited, say 384 megs, 1 thread with pipes works better.


Ideally you should measure compile times for large projects like Open  
Office and find out what works best on your system. I would start with 1  
thread -O2 and -pipe.


--
Andrei Gerasimenko
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-08 Thread Sascha Hlusiak
> One suggests using -O3 -pipe, the other, -O2 without
> the pipe.
>
> How much difference does this make? Is the extra level
> of optimization with pipe the equivalent of the lower
> level without?

From the gcc manpage:
-pipe
Use pipes rather than temporary files for communication between the various 
stages of compilation.  This fails to work on some systems where the 
assembler is unable to read from a pipe; but the GNU assembler has no 
trouble.

The pipe is only for speeding up the compiling process. It does not speed up 
binaries. 

The -O3 contains some more optimizations than -O2, which can result in much 
bigger applications and may be contraproductive. The -O2 is widely 
recommended, but I guess you won't feel a big difference anyway. See man gcc 
for a more detailled description. 


- Sascha


pgpBuPCWnDVK5.pgp
Description: PGP signature


[gentoo-user] CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-08 Thread maxim wexler
Hi group,

I note two schools of thought on the best CFLAGS for
the Pentium III processor.

One suggests using -O3 -pipe, the other, -O2 without
the pipe.

How much difference does this make? Is the extra level
of optimization with pipe the equivalent of the lower
level without?

-mw


 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread David Relson
On Sun, 8 Apr 2007 17:56:21 +0100
Neil Bothwick wrote:

> Hello Dan Farrell,
> 
> > Unfortunately, everything above syl.claws 2.4 is masked testing on
> > x86_64, and I don't want to get my hands dirty on this one.  Perhaps
> > one day... 
> 
> The problem here is that Claws development is proceeding so quickly
> that no ebuild gets to spend the normal 30 days in testing before a
> new Claws release. Having said that, I've never had a problem with
> the testing ebuilds (they are still for stable Claws releases) on
> amd64 or ppc.

Dan,

I used Sylpheed-Claws for several years, with the past 6 months being
on Gentoo.  Given the still rapid pace of claws' development (as
Neil mentions), the only way to have new features and fixes for
old is to turn on ~x86.  Even though officially "experimental",
the releases are all very, very usable.  

My recommendation is to add mail-client/claws-mail to package.keywords
and run the latest version of claws-mail.  You'll end up with a good
program that, if not perfect, is 99.9% perfect :->

Regards,

David
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Install Stage feature request and bug report.

2007-04-08 Thread Boyd Stephen Smith Jr.
On Sunday 08 April 2007, Jerry McBride <[EMAIL PROTECTED]> wrote 
about '[gentoo-user] Install Stage feature request and bug report.':
> Just a small request of the gentoo stage developers...

Wrong list man.  You either want gentoo-dev or (not a mailing-list) 
bugs.gentoo.org.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgpTOljN6iDDG.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo and WindowMaker

2007-04-08 Thread Robert Cernansky
On Sun, 8 Apr 2007 08:29:43 -0600 Brad Camroux <[EMAIL PROTECTED]> wrote:

> On Sun, Apr 08, 2007 at 03:24:12PM +0200, Robert Cernansky wrote:
> > 
> > No extra configuring is needed to run WindowMaker. Just to choose
> > 'GNUStep WindowMaker' session in your display manager (kdm, gdm)
> > and login.
> 
> How can I get the option 'GNUStep WindowMaker' to appear in my kdm
> login session list?  All I have are: 'default', 'custom', 'fluxbox',
> and 'failsafe'.  But I can't seem to find anywhere to change this,
> and selecting 'custom' or 'default' just crashes and returns to the
> kdm login screen.

I don't know exactly about kdm behaviour, but gdm reads .desktop files
from /etc/X11/dm/Sessions/ directory. Content of WindowMaker file
"wmaker.desktop" is folowing:

[Desktop Entry]
Encoding=UTF-8
# The names/descriptions should really be better
Name=GNUStep WindowMaker
Comment=Use this session to run WindowMaker as your desktop environment
Exec=/usr/bin/wmaker
Icon=
Type=Application

This file should be created by ebuild. If it exist, and kdm does not
show "GNUstep WindowMaker" entry, try to find out from where it reads
other enties (custom, fluxbox).

Robert


-- 
Robert Cernansky
E-mail: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] RAID-0 with LVM - is there any point?

2007-04-08 Thread Neil Bothwick
Hello Daniel Iliev,

> Here we go. I think the results can't be interpreted unambiguously.
> Perhaps I'll use a benchmarking program in the weekend to get clearer
> results.

I've found time to move things off the RAID to I can compare with freshly
formatted filesystems. LVM on top of RAID-0 is substantially faster than
LVM striped across the partitions directly - 50-100% on many of the tests.

I'll put the HTML output on a web site later, but after all that, what
I've got already seems the best option.


-- 
Neil Bothwick

Dolly Parton-- silicone based life


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread Mike Edenfield

Neil Bothwick wrote:

Hello Dan Farrell,


Why this is the case, I don't think I'll ever understand.  White
terminal backgrounds, aside from the invisible color problem, also are
hella ugly. 


Many people find black on white far easier to read than white on black,
for the same fonts and sizes.


Clearly, though, black on white uses less photons.  Think of 
the children!


--
-- Mike

Still using IE? Get Firefox!
http://www.spreadfirefox.com/?q=affiliates&id=6492&t=1
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Install Stage feature request and bug report.

2007-04-08 Thread Jerry McBride

Just a small request of the gentoo stage developers...

Would it be at all possible to include rsync in the next round of development?

Also, has ANYONE on this list been able to serve nfs shares from any of the 
2006.1 stage3 iso's?

I've recently cloned a 2006.1 install to a small cluster of Dell Optiplex 
GX50's and it would have been a god-send if I could have accessed the targets 
via rsync or nfs.

On the 2006.1 stage3 iso, there's an nfs.ko kernel module and enough utilities 
to run a server, but it fails to work... It errors out with "nfssvc function  
not implemented" and rpc.nfsd fails to start Possibly the provided nfs.ko 
does not match the included kernel?

However, the stage3 sshd daemon and nfs client works perfectly and a simple 
cp -a followed by a grub setup and each of the nodes in the cluster installed 
and runs perfectly.

I now have Gentoo 2006.1 running as a 5 node distcc compile cluster... 

Awesome...

--

Jerry McBride
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread Neil Bothwick
Hello Dan Farrell,

> Unfortunately, everything above syl.claws 2.4 is masked testing on
> x86_64, and I don't want to get my hands dirty on this one.  Perhaps
> one day... 

The problem here is that Claws development is proceeding so quickly that
no ebuild gets to spend the normal 30 days in testing before a new Claws
release. Having said that, I've never had a problem with the testing
ebuilds (they are still for stable Claws releases) on amd64 or ppc.


-- 
Neil Bothwick

It may be that your sole purpose in life is simply to serve as a warning
to others.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gentoo and WindowMaker

2007-04-08 Thread Dan Farrell
On Sat, 7 Apr 2007 22:55:53 -0600
Brad Camroux <[EMAIL PROTECTED]> wrote:

> Greetings,
> 
> I've been trying to get WindowMaker working on my Gentoo box, so far
> without success. It's very difficult to find anything on Google et.
> al., too about getting things working.  Today I managed to find the
> wmaker.inst program to install WindowMaker for the current user, but
> when I try to login and load WindowMaker, it just goes back to my kdm
> screen.  I've been using Fluxbox in the meantime, and really don't
> want to just give up and go back to KDE.  I want to use a nice,
> lightweight window manager.
> 
> Does anyone have any ideas about configuring WindowMaker to work on
> Gentoo?  I know lots of people have done it, but nobody seems to
> write a detailed account of how.
> 
> Thanks,
> 
> Brad

Brad, 
  You did use the windowmaker ebuild from portage right?  I know gdm,
which I use, lists session managment options like Fluxbox and KDE based
on the presence of startup scripts in some folder somewhere
in /etc/X11.  The ebuild should put them there, but I'm not sure,
especially for kdm, what that entails or whether it'll actually be done
in your case.  You might be able to set up a custom script in
~/.xession to start up windowmaker, if you can figure out how to do so
from the command line, and then select the "custom" option if the
windowmaker ebuild doesn't support adding itself to the kdm menu.  

Regards and good luck, 
--Dan Farrell
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread Dan Farrell
On Sun, 8 Apr 2007 09:36:20 +0100
Neil Bothwick <[EMAIL PROTECTED]> wrote:

> Hello Dan Farrell,
> 
> > Hey tony,  maybe this is beyond your control, or maybe you don't
> > care, and if not i respect your autonomy in such matters, but your
> > reply block punctuation character '|' defeats the very helpful
> > colorization of my and many other browsers that use the usual '>'
> > character to identify reply text.  It makes your letters nearly
> > unreadable. respects, - dan
> 
> I too use Claws Mail and | is correctly identified as a quote marker
> here. It's been like that for as long as I can remember, even as far
> back as the old version you are using :)

I had to manually add it to the reply character enumeration.
Unfortunately, everything above syl.claws 2.4 is masked testing on
x86_64, and I don't want to get my hands dirty on this one.  Perhaps
one day... 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo and WindowMaker

2007-04-08 Thread Brad Camroux
On Sun, Apr 08, 2007 at 03:24:12PM +0200, Robert Cernansky wrote:
> On Sat, 7 Apr 2007 22:55:53 -0600 Brad Camroux <[EMAIL PROTECTED]> wrote:
> 
> > Does anyone have any ideas about configuring WindowMaker to work on
> > Gentoo?  I know lots of people have done it, but nobody seems to
> > write a detailed account of how.
> 
> [Do not use 'reply' when you are posting a new message, please.]

Sorry... I must have hit the wrong key :(

> No extra configuring is needed to run WindowMaker. Just to choose
> 'GNUStep WindowMaker' session in your display manager (kdm, gdm) and
> login.

How can I get the option 'GNUStep WindowMaker' to appear in my kdm login
session list?  All I have are: 'default', 'custom', 'fluxbox', and 'failsafe'.
But I can't seem to find anywhere to change this, and selecting 'custom'
or 'default' just crashes and returns to the kdm login screen.

> It seem that in your case wmaker is crashing or so. Try to remove
> GNUstep directory from your home. If it does not help, look into the
> file ~/.xsession-errors if there is some error.

I have removed ~/GNUstep, and still it doesn't work.  Here's a listing of
my ~/.xsession-errors after a login attempt.  It's very short.


Failed to read: session.styleOverlay
Setting default value
BScreen::BScreen: managing screen 0 using visual 0x21, depth 24
Failed to read: session.styleOverlay
Setting default value
Failed to read: session.styleOverlay
Setting default value
 Idesk starting in :0.0
[idesk] Background's file not found.
[idesk] Background's source not found.
No running windows found
Failed to read: session.screen0.titlebar.left
Setting default value
Failed to read: session.screen0.titlebar.right
Setting default value


Thanks,

Brad
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread Alexander Skwar
ยท Graham Murray <[EMAIL PROTECTED]>:

> Or why when run in a console the output stays on the screen when you
> exit less, thus allowing you to refer to it when typing the next
> command, but in an X terminal it 'collapses' to just the command
> prompt on exit. 

That's because of certain features the terminal advertises
in its "termcap". I don't know which, but I do know, that this
is the reason.

Alexander Skwar
-- 
   Leela: Oh no, there's no exhaust pipe.
   Project Satan: That's right. Thanks to Ed Begley Jr.'s electric motor, the 
   most evil propulsion system ever conceived!


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo and WindowMaker

2007-04-08 Thread Robert Cernansky
On Sat, 7 Apr 2007 22:55:53 -0600 Brad Camroux <[EMAIL PROTECTED]> wrote:

> Greetings,
> 
> I've been trying to get WindowMaker working on my Gentoo box, so far
> without success.  It's very difficult to find anything on Google
> et. al., too about getting things working.  Today I managed to find
> the wmaker.inst program to install WindowMaker for the current user,
> but when I try to login and load WindowMaker, it just goes back to
> my kdm screen.  I've been using Fluxbox in the meantime, and really
> don't want to just give up and go back to KDE.  I want to use
> a nice, lightweight window manager.
> 
> Does anyone have any ideas about configuring WindowMaker to work on
> Gentoo?  I know lots of people have done it, but nobody seems to
> write a detailed account of how.
> 
> Thanks,
> 
> Brad

[Do not use 'reply' when you are posting a new message, please.]

No extra configuring is needed to run WindowMaker. Just to choose
'GNUStep WindowMaker' session in your display manager (kdm, gdm) and
login.

It seem that in your case wmaker is crashing or so. Try to remove
GNUstep directory from your home. If it does not help, look into the
file ~/.xsession-errors if there is some error.

Robert


-- 
Robert Cernansky
E-mail: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a weird problem regarding internet connection...

2007-04-08 Thread Martin Hudec

Nistor Andrei wrote:
I have no idea what might have happened yesterday... I got home from a party 
@5AM and I turned on my computer to listen to some music untill I fall 
asleep. 5 minutes ago, GAIM logged in, all by itself... I am sure I haven't 
modified any setting (unless I was sleeptyping). What happened? How can I 
make sure it's not going to happen again when I'll need my internet connexion 
more than ever? 


Lovely (hope the party was excellent ;)).

Well, just check the firewall rules and check name resolution via dig. 
Maybe it was just an issue with the name server itself. Might be handy 
to get another one to resolv.conf.


Martin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] a weird problem regarding internet connection...

2007-04-08 Thread Nistor Andrei
I have no idea what might have happened yesterday... I got home from a party 
@5AM and I turned on my computer to listen to some music untill I fall 
asleep. 5 minutes ago, GAIM logged in, all by itself... I am sure I haven't 
modified any setting (unless I was sleeptyping). What happened? How can I 
make sure it's not going to happen again when I'll need my internet connexion 
more than ever? 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Mounting /dev from udev ... [oops]

2007-04-08 Thread Mick
On Saturday 07 April 2007 23:07, Dale wrote:
> maxim wexler wrote:
> > Also, upgrades are difficult here in the boonies.
> > Modem speed is approx 28k.
>
> Same speed here.  :-(  I feel your pain.  Two things if you have a newer
> box somewhere, http-replicator and rsync.  I have three boxes and use
> that to share the source tarballs and sync from.
>
> Poor us.  We both need DSL.

Maxim, things have move on in many basic ways - one of which is that devices 
are automounted these days using udevd.  If your system is not up to date 
across the piece, some software will no doubt will complain with whatever is 
left behind.  The fact that you are running a slim install means that you 
lasted this long on e.g. a really old kernel.

Since dial up is inadequate to readily keep up to date and if you have more 
than one machine seriously painful, you may also want to consider boa for 
sharing your distfiles across your LAN:

http://thread.gmane.org/gmane.linux.gentoo.user/162733

HTH.
-- 
Regards,
Mick


pgpeNpSvgKlBu.pgp
Description: PGP signature


Re: [gentoo-user] Re: Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread Neil Bothwick
Hello Dan Farrell,

> Why this is the case, I don't think I'll ever understand.  White
> terminal backgrounds, aside from the invisible color problem, also are
> hella ugly. 

Many people find black on white far easier to read than white on black,
for the same fonts and sizes.


-- 
Neil Bothwick

Memory Map - A sheet of paper showing location of computer store.


signature.asc
Description: PGP signature


Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-08 Thread Neil Bothwick
Hello Dan Farrell,

> Hey tony,  maybe this is beyond your control, or maybe you don't care,
> and if not i respect your autonomy in such matters, but your reply
> block punctuation character '|' defeats the very helpful colorization
> of my and many other browsers that use the usual '>' character to
> identify reply text.  It makes your letters nearly unreadable.  
> respects, - dan

I too use Claws Mail and | is correctly identified as a quote marker
here. It's been like that for as long as I can remember, even as far back
as the old version you are using :)


-- 
Neil Bothwick

The program is absolutely right; therefore, the computer must be wrong.


signature.asc
Description: PGP signature