Re: loaded router, excessive getnstimeofday in oprofile

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Dumazet <dada1@...>
Cc: Andi Kleen <andi@...>, Joe Malicki <jmalicki@...>, David Miller <davem@...>, <johnpol@...>, <netdev@...>, <linux-kernel@...>, <juhlenko@...>, <sammy@...>
Date: Thursday, August 28, 2008 - 3:25 pm

On Thursday 28 August 2008, Eric Dumazet wrote:


No

No, process list is very short, it is custom semi-embedded linux distro i 
made, so i know each process running there.  Here is process list (kernel 
processes/threads and running shell(busybox ash) removed) 

1 root     /bin/sh /init
 1119 root     init
 2451 root     /sbin/syslogd -R 80.83.17.2
 2453 root     /sbin/klogd
 3168 squid    /usr/sbin/zebra -d
 3175 squid    /usr/sbin/ripd -d
 3195 root     /usr/sbin/snmpd -c /config/snmpd.conf
 3208 root     udhcpd /config/udhcp.office.conf -S
 3550 root     /usr/sbin/sshd -b /etc/banner
 3566 root     /sbin/getty 38400 tty1
 3567 root     /sbin/getty 38400 tty2
 3570 root     /sbin/getty 38400 tty3
 4055 root     /usr/sbin/sshd -b /etc/banner

I dont think i am alone, and almost sure there is many guys trying to run 
linux as high-performance router. But most of them dont know about 
netdev@ :-)

Well, thats called "Increasing resources use efficiency and system 
productivity". It is never a shame to utilize resources more efficiently. 
Plus i am not using PC class machine. For example this one with HPET, is Sun 
Fire X4100, which costs us that time a lot of bucks, and mostly because it is 
reliable hardware (very good IPMI/remote kvm/... onboard, good cooling, 4 
e1000, dual power supply).

I can use also PC class, but i will face some issues, like building proper 
cooling system and maybe even it will not work well, cause some chips not 
designed for "heavy duty", and on load they will not be able to dissipate 
heat inside the chip and will be broked soon. But sometimes it is even worth 
to try.

And most important, many routers is already "soft"-routers. What is Cisco 
7206+NPE G1/G2? It is MIPS CPU with relatively large L2 cache. There is seems 
no ASIC for routing offloading.  Means Linux can do same or better job.
And means Vyatta can beat Cisco on this market, and be far away forward from 
Cisco soon. As result more jobs for opensource guys. Linux must enter "heavy 
duty" and critical jobs too, not only SOHO-class routers.

I think it wouldn't break. But sure we must be very careful and on my side i 
can test all possible scenarios i can implement.

Maybe even good idea to not change (for now) current  default behaviour, but 
to provide option for "high performance" systems then.

Maybe this function really must be "heavy" then.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 21, 9:57 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Stephen Hemminger, (Wed Aug 27, 11:35 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 28, 4:49 am)
Re: loaded router, excessive getnstimeofday in oprofile, Evgeniy Polyakov, (Tue Aug 26, 4:14 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Eric Dumazet, (Tue Aug 26, 4:44 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Evgeniy Polyakov, (Tue Aug 26, 4:51 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Wed Aug 27, 5:34 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Jason Uhlenkott, (Wed Aug 27, 10:39 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Wed Aug 27, 11:10 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Sun Aug 31, 11:51 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Mon Sep 1, 12:10 am)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Thu Aug 28, 3:42 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Thu Aug 28, 4:32 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Thu Aug 28, 4:47 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Joe Malicki, (Fri Aug 29, 11:21 am)
Re: loaded router, excessive getnstimeofday in oprofile, Evgeniy Polyakov, (Fri Aug 29, 4:43 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Joe Malicki, (Fri Aug 29, 11:43 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 28, 12:48 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Thu Aug 28, 3:36 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 28, 3:59 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Eric Dumazet, (Thu Aug 28, 2:57 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 28, 3:25 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Eric Dumazet, (Thu Aug 28, 3:37 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 28, 3:55 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Stephen Hemminger, (Fri Aug 29, 11:43 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 28, 11:02 am)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Thu Aug 28, 3:31 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Ilpo Järvinen, (Thu Aug 28, 3:01 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Stephen Hemminger, (Wed Aug 27, 12:17 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Jarek Poplawski, (Wed Aug 27, 1:14 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Wed Aug 27, 6:18 pm)
Re: loaded router, excessive getnstimeofday in oprofile, David Miller, (Wed Aug 27, 8:48 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Eric Dumazet, (Wed Aug 27, 1:27 pm)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Wed Aug 27, 8:09 am)
Re: loaded router, excessive getnstimeofday in oprofile, Evgeniy Polyakov, (Wed Aug 27, 8:36 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Wed Aug 27, 10:00 am)
Re: loaded router, excessive getnstimeofday in oprofile, Evgeniy Polyakov, (Wed Aug 27, 10:23 am)
Re: loaded router, excessive getnstimeofday in oprofile, Jarek Poplawski, (Tue Aug 26, 5:51 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Tue Aug 26, 6:29 am)
Re: loaded router, excessive getnstimeofday in oprofile, Jarek Poplawski, (Tue Aug 26, 6:47 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Tue Aug 26, 6:49 am)
Re: loaded router, excessive getnstimeofday in oprofile, Jarek Poplawski, (Tue Aug 26, 7:07 am)
Re: loaded router, excessive getnstimeofday in oprofile, Jarek Poplawski, (Tue Aug 26, 7:15 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Tue Aug 26, 7:16 am)
Re: loaded router, excessive getnstimeofday in oprofile, Jarek Poplawski, (Tue Aug 26, 7:32 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Tue Aug 26, 7:32 am)
Re: loaded router, excessive getnstimeofday in oprofile, Denys Fedoryshchenko, (Thu Aug 21, 10:23 pm)