Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-06-05 Thread Robert G. Hays
[digest-mode reply] Subject: Re: [gentoo-user] Re: CFLAGS CPU optimization question. From: Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> Date: Tue, 31 May 2005 15:08:30 -0300 To: gentoo-user@lists.gentoo.org Sorry for taking this long to answer. I suggest any unprivilege

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-31 Thread Raphael Melo de Oliveira Bastos Sales
Sorry for taking this long to answer. I suggest any unprivileged port that has no other service attached to it (I use 8022 on some machines). Script Kiddies won't event know it is there, or will try to hammer it with a wrong protocol, which will be useless. Of course, I might be wrong. If so, feel

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Walter Dnes
On Fri, May 27, 2005 at 08:50:29AM -0400, Mark Shields wrote > Walter, > > thanks for the useful tip. I've been looking to increase the > efficiency of my server (Athlon XP (Thorton), 2400+ (2ghz), 133 fsb, > 512mb pc2100), especially since now I've been looking at my log files > I've noticed it'

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Mark Shields
I define "hammered" as more than a handful from the same IP. Between April 27th and May 22nd: # wc -l invalid.logins 1611 invalid.logins On 5/27/05, Mark Shields <[EMAIL PROTECTED]> wrote: > This is a personal server (router/ftp/sftp/ssh home server), and I'm > the only one that uses SSH. Chan

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Mark Shields
This is a personal server (router/ftp/sftp/ssh home server), and I'm the only one that uses SSH. Changing the port, however "non-standard" it may be, fixed my problem. RSA auth is enabled by default in the sshd server, by the way. # cat /etc/ssh/sshd_config | grep RSAAuthentication #RSAAuthentic

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Kirk Strauser
On Friday 27 May 2005 12:16, Bastian Balthazar Bux wrote: > Changing port is not about security, it save cpu (that can be true using > RSA auth only too). The question, though, is whether changing the port is worth the hassle. If you're getting 1000 SSH attempts per day, and each connection tak

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Bastian Balthazar Bux
Kirk Strauser wrote: > On Friday 27 May 2005 07:50, Mark Shields wrote: > > >>especially since now I've been looking at my log files I've noticed it's >>being hammered everyday by ssh break attempts. > > > Define "hammered". How many attempts per unit time are you seeing? > > By the way, I s

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Kirk Strauser
On Friday 27 May 2005 07:50, Mark Shields wrote: > especially since now I've been looking at my log files I've noticed it's > being hammered everyday by ssh break attempts. Define "hammered". How many attempts per unit time are you seeing? By the way, I strongly suggest *not* changing your SSH

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Mark Shields
What port do you suggest (sorry for hijacking this thread!)? On 5/27/05, Raphael Melo de Oliveira Bastos Sales <[EMAIL PROTECTED]> wrote: > Change the sshd port, the hammering will be smaller... > > 2005/5/27, Mark Shields <[EMAIL PROTECTED]>: > > Walter, > > > > thanks for the useful tip. I've

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Raphael Melo de Oliveira Bastos Sales
Change the sshd port, the hammering will be smaller... 2005/5/27, Mark Shields <[EMAIL PROTECTED]>: > Walter, > > thanks for the useful tip. I've been looking to increase the > efficiency of my server (Athlon XP (Thorton), 2400+ (2ghz), 133 fsb, > 512mb pc2100), especially since now I've been lo

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-27 Thread Mark Shields
Walter, thanks for the useful tip. I've been looking to increase the efficiency of my server (Athlon XP (Thorton), 2400+ (2ghz), 133 fsb, 512mb pc2100), especially since now I've been looking at my log files I've noticed it's being hammered everyday by ssh break attempts. On 5/26/05, Julien Cayz

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-26 Thread Julien Cayzac
On 5/26/05, Walter Dnes <[EMAIL PROTECTED]> wrote: > One thing I haven't seen mentioned in this discussion is cpu-specific > flags. Try doing a "cat /proc/cpuinfo" and see which of the flags are > allowed in gcc. mmx, mmx2, sse, sse2, sse3 and various other stuff will > speed things up. If you

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-26 Thread Walter Dnes
On Tue, May 24, 2005 at 12:57:08PM +, James wrote > Well, I'm sure we all have different preferences, but, I've been > running "-O3" on 6 systems (PIII, (2)P4, P4 w/ HT, and (2)Athlons) > with no problems for 8 months. > > My Athlons use: > CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Colin
Richard Fish wrote: Colin wrote: Julien Cayzac wrote: On 5/24/05, Robert Crawford <[EMAIL PROTECTED]> wrote: For what it's worth, according to man gcc, -O2 turns on -funit-at-a-time. Yup. Too bad every single Makefile in the world compiles c/c++ source files one by one :-/ Wo

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Richard Fish
Colin wrote: > Julien Cayzac wrote: > >> On 5/24/05, Robert Crawford <[EMAIL PROTECTED]> wrote: >> >> >>> For what it's worth, according to man gcc, -O2 turns on >>> -funit-at-a-time. >>> >> >> >> Yup. Too bad every single Makefile in the world compiles c/c++ source >> files one by one :-/ >>

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Colin
Julien Cayzac wrote: On 5/24/05, Robert Crawford <[EMAIL PROTECTED]> wrote: For what it's worth, according to man gcc, -O2 turns on -funit-at-a-time. Yup. Too bad every single Makefile in the world compiles c/c++ source files one by one :-/ Wouldn't MAKEOPTS set to at least -j2 at

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Julien Cayzac
On 5/24/05, Robert Crawford <[EMAIL PROTECTED]> wrote: > For what it's worth, according to man gcc, -O2 turns on -funit-at-a-time. Yup. Too bad every single Makefile in the world compiles c/c++ source files one by one :-/ Julien. -- gentoo-user@gentoo.org mailing list

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Robert Crawford
On Tuesday 24 May 2005 03:04 am, Ciaran McCreesh wrote: > -funit-at-a-time For what it's worth, according to man gcc, -O2 turns on -funit-at-a-time. Robert Crawford -- gentoo-user@gentoo.org mailing list

[gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread James
Mitko Moshev gmail.com> writes: > Put -pipe in there too, it speeds up compiling (or so I've heard). > Right now I use CFLAGS="-march=athlon-xp -O2 -pipe > -fomit-frame-pointer". -O3 isn't worth it. It would give you no more > than a few percent (around 2-3) faster binaries, but they would compi

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Mitko Moshev
Thomas Kirchner wrote: * On May 23 17:45, Walter Dnes (gentoo-user@lists.gentoo.org) wrote: Currently, I use "-march=i686" for my 3 machines, a P4, a PIII, and a PII (and a partridge in a pear tr). "i586 is equivalent to pentium and i686 is equivalent to pentiumpro."

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-24 Thread Ciaran McCreesh
On Tue, 24 May 2005 08:54:54 +0200 Julien Cayzac <[EMAIL PROTECTED]> wrote: | > Not to mention that no devs (and few users) will help with anything | > if you use more CFLAGS. | | I wouldn't expect any support with the flag mentionned above switched | on. However, I would at least expect a "upstre

Re: [gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-23 Thread Julien Cayzac
On 5/24/05, Thomas Kirchner <[EMAIL PROTECTED]> wrote: > And for goodness sake, don't use the ridiculous CFLAGS suggested by some > others. You'll have so many problems down the road you won't know what > to do with your system. Good ole "-O2 -march=whatever > -fomit-frame-pointer" produces fast,

[gentoo-user] Re: CFLAGS CPU optimization question.

2005-05-23 Thread Thomas Kirchner
* On May 23 17:45, Walter Dnes (gentoo-user@lists.gentoo.org) wrote: > Currently, I use "-march=i686" for my 3 machines, a P4, a PIII, and a > PII (and a partridge in a pear tr). > > "i586 is equivalent to pentium and i686 is equivalent to pentiumpro." > > Does this mean that I would