What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Faulty ac68?

So it seems radvd writing errors to the syslog once a minute pretty much overwhelms my ac68 flash memory whilst my ac66 doesnt even break a sweat.
 
Something definitely still amiss.....here's my output....VPN Server, VPN Client, IPv6 HE Tunnel active....at idle
Code:
Mem: 54984K used, 200668K free, 0K shrd, 68K buff, 17988K cached
CPU0:  0.1% usr  0.1% sys  0.0% nic 98.4% idle  0.3% io  0.0% irq  0.7% sirq
CPU1:  0.3% usr  0.7% sys  0.0% nic 98.4% idle  0.0% io  0.0% irq  0.3% sirq
Load average: 0.02 0.03 0.05 1/81 2988
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
1185     1 admin    S     4268  1.6   1  0.4 /etc/openvpn/vpnclient1 --cd /etc/openvpn/client1
  257     2 admin    SW       0  0.0   1  0.4 [mtdblock3]
1017     1 admin    S     2312  0.9   0  0.1 nmbd -D -s /etc/smb.conf
 
So it seems radvd writing errors to the syslog once a minute pretty much overwhelms my ac68 flash memory whilst my ac66 doesnt even break a sweat.
Hmmm.....I gen up a little routine to constantly write to the syslog and see what happens....
 
Well, it looks like its radvd spinning causing the problem, not the syslog writes.....I wrote a routing to write 10 log entries/second to the syslog

Code:
Jun 15 07:22:58 syslog-test: log entry at Mon Jun 15 07:22:58 GMT 2015
Jun 15 07:22:58 syslog-test: log entry at Mon Jun 15 07:22:58 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:22:59 syslog-test: log entry at Mon Jun 15 07:22:59 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:00 syslog-test: log entry at Mon Jun 15 07:23:00 GMT 2015
Jun 15 07:23:01 syslog-test: log entry at Mon Jun 15 07:23:01 GMT 2015

Here's the top output while running
Code:
Mem: 54464K used, 201188K free, 0K shrd, 396K buff, 17508K cached
CPU0:  7.5% usr  5.3% sys  0.0% nic 86.4% idle  0.0% io  0.0% irq  0.5% sirq
CPU1:  0.7% usr  1.3% sys  0.0% nic 97.6% idle  0.0% io  0.0% irq  0.1% sirq
Load average: 0.35 0.44 0.25 2/85 10082
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
1432  1428 admin    S     1388  0.5   0  0.4 {syslog-test.sh} /bin/sh /jffs/sbin//syslog-test.s
1190     1 admin    S     4180  1.6   1  0.2 /etc/openvpn/vpnclient1 --cd /etc/openvpn/client1

No noticeable change in browsing.....

Your output showed over 50% sys
Code:
CPU: 1.4% usr 52.6% sys 0.0% nic 32.0% idle 13.1% io 0.0% irq 0.5% sirq
 
Please try this as radvd.postconf in /jfss/scripts (note there is a leading space before IgnoreIfMissing)

Code:
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
 
pc_replace " IgnoreIfMissing on" " IgnoreIfMissing off" $CONFIG
 
exit
 
yeah when ipv6 is working properly, the router seems fine, even with syslog to jffs.

The radvd/dhcp6 was every second not every minute sorry.

Also radvd is disabled in my settings so not sure why it was even spinning.

The router is still much slower to do backups with your tool than the ac66, and logging in to ssh is a bit slower, but the idle issue is fixed now as long as I dont have the bad isp gateway problem.

I will try the above what you said also.

Thanks

The good news is I can keep ctf disabled now, router is handling my internet throughput without maxing out now.
 
Last edited:
read speed of rootfs on nand

AC68

admin@RT-AC68U:/jffs/scripts# time dd if=/dev/mtdblock3 of=/dev/null bs=8192 count=10240
3628+1 records in
3628+1 records out

real 0m29.293s
user 0m0.000s
sys 0m0.150s

no time binary on my ac66 but manually counting it was actually a bit slower.

However.

Repeating the test on the ac66 is cached, on the ac68 its not cached. So I think the difference between the 2 routers is how the kernel handles reads.
 
This has been confirmed due to asus firmware disabling disk buffers on the ac68, thanks to john for all his work in helping me on this.
 
Similar threads
Thread starter Title Forum Replies Date
V RT-AC68 future Asuswrt-Merlin 13

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top