Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-08-02 Thread Benjamin Henrion
 Thursday, August 1, 2013, Gabriele Pinzauti gabriele.pinza...@witech.it
wrote:
 Hello,
 I unfortunately flashed my WRT54GL with 12.09 and then I realize that the
web interface is now extremely slow.

Same experience here here 2  days ago with a wrt54gl. I uninstalled luci
and the CPU was suddenly breathing better.

 What is, in your opinion, the best practice to downgrade from 12.09 to
10.03.1? I am able to connect to the shell, via SSH, but I am afraid mtd
process will be broken due to the lack of memory.
 I also would be able to TFTP a new firmware, since boot_wait should be on.

 root@OpenWrt:/# nvram get boot_wait
 on
 root@OpenWrt:/#

 Suggestions are strongly appreciated.

 Thanks.
 Gabriele

 2013/6/12 Wojciech Kromer wojciech.kro...@dgt.com.pl

 W dniu 12.06.2013 10:55, Wojciech Kromer pisze:

 With my rt3052,16MB RAM,4MB SPI-FLASH so far
 - trunk is unusable
 - AA seems to work even with LUCI

 Anyway
 - in AA rt3052 wifi crashes at start,
   this was solved in trunk, but I do not know how to backport it

 OK, there is quick and dirty workaround here
https://dev.openwrt.org/ticket/13532

 After enabling WiFi everything slows down, especially LUCI.


 Best regards.

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel



-- 
Benjamin Henrion bhenrion at ffii.org
FFII Brussels - +32-484-566109 - +32-2-3500762
In July 2005, after several failed attempts to legalise software patents
in Europe, the patent establishment changed its strategy. Instead of
explicitly seeking to sanction the patentability of software, they are now
seeking to create a central European patent court, which would establish
and enforce patentability rules in their favor, without any possibility of
correction by competing courts or democratically elected legislators.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-08-02 Thread Bastian Bittorf
* Gabriele Pinzauti gabriele.pinza...@witech.it [02.08.2013 09:27]:
 10.03.1? I am able to connect to the shell, via SSH, but I am afraid mtd
 process will be broken due to the lack of memory.
 I also would be able to TFTP a new firmware, since boot_wait should be on.

if you are unsure, use tftp - this is reliable.
you can build images by yourself but you should include the
package 'zram-swap' from 'base-system'.

bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-08-01 Thread camden lindsay
I am by no means an expert, but i recently did up/downgrades from 12.09 to
trunk and back (after finding 12.09 would oom during boot) using the
suggestions here:

http://wiki.openwrt.org/doc/howto/generic.sysupgrade#free.up.ram

In addition to that, i spent quite some time figureing out what all
processes i could kill without killing the router.

Good luck!



On Thu, Aug 1, 2013 at 5:55 AM, Gabriele Pinzauti 
gabriele.pinza...@witech.it wrote:

 Hello,
 I unfortunately flashed my WRT54GL with 12.09 and then I realize that the
 web interface is now extremely slow.
 What is, in your opinion, the best practice to downgrade from 12.09 to
 10.03.1? I am able to connect to the shell, via SSH, but I am afraid mtd
 process will be broken due to the lack of memory.
 I also would be able to TFTP a new firmware, since boot_wait should be on.

 root@OpenWrt:/# nvram get boot_wait
 on
 root@OpenWrt:/#

 Suggestions are strongly appreciated.

 Thanks.
 Gabriele

 2013/6/12 Wojciech Kromer wojciech.kro...@dgt.com.pl

 W dniu 12.06.2013 10:55, Wojciech Kromer pisze:


 With my rt3052,16MB RAM,4MB SPI-FLASH so far
 - trunk is unusable
 - AA seems to work even with LUCI

 Anyway
 - in AA rt3052 wifi crashes at start,
   this was solved in trunk, but I do not know how to backport it


 OK, there is quick and dirty workaround here https://dev.openwrt.org/**
 ticket/13532 https://dev.openwrt.org/ticket/13532

 After enabling WiFi everything slows down, especially LUCI.



 Best regards.

 __**_
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.**org openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/**mailman/listinfo/openwrt-develhttps://lists.openwrt.org/mailman/listinfo/openwrt-devel



 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-12 Thread Wojciech Kromer


With my rt3052,16MB RAM,4MB SPI-FLASH so far
- trunk is unusable
- AA seems to work even with LUCI

Anyway
- in AA rt3052 wifi crashes at start,
  this was solved in trunk, but I do not know how to backport it
- a lot of unwanted debug info, ipv6, and not necessary packages should 
be disabled


Q:
- is there any stable branch , tested, with working wifi,
 for such device?


Best regards.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-12 Thread Jonathan Bither



On 06/11/2013 03:34 PM, Ben West wrote:

Quoting from the supported hardware list, and likewise from the Attitude
Adjustment announcement made earlier this year:

Note that with the release of 'Attitude Adjustment (12.09 final)' on
25th April 2013, 'Lower end devices with only 16 MiB RAM will easily run
out of Memory…'.

http://wiki.openwrt.org/toh/start

I do see that some device on that list are spec'ed at 16MB RAM, and I
can only guess those are old entries.

My own attempts to get recent versions of OpenWRT running on a FONera
2100 router, which has the same CPU and RAM capacity as your device,
proved futile due to memory exhaustion and random kernel crashes.  Even
without the LUCI UI.
IIRC there are a couple memory leaks with that ethernet driver. I've 
been meaning to rebase my git and submit some patches for that target 
shortly.


My understanding is that the memory requirement is a hard limit.

On Tue, Jun 11, 2013 at 4:13 AM, Wojciech Kromer
wojciech.kro...@dgt.com.pl mailto:wojciech.kro...@dgt.com.pl wrote:



My understanding is that OpenWRT Attitude Adjustment, along with current
versions of trunk, are not expected to run in any reliable way under less
than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
little memory, and the OpenWRT dev community likewise doesn't support it.

Hi Ben
What you means is v3.x kernel don't support 32MB RAM? not the issue of LUCI?



Everything else works fine, and I can see some devices with same
hardware on openwrt supported list.
Also new gargoyle works pretty good.

During LUCI operations filesystem is heavly  used,
I can see a 50-90% CPU usage in [spi0] kernel process.

Using precompiled version helps a little, but it's still unusable.


Best regards.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org mailto:openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel




--
Ben West
http://gowasabi.net
b...@gowasabi.net mailto:b...@gowasabi.net
314-246-9434


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-12 Thread Wojciech Kromer

W dniu 12.06.2013 15:35, Jonathan Bither pisze:

My own attempts to get recent versions of OpenWRT running on a FONera
2100 router, which has the same CPU and RAM capacity as your device,
proved futile due to memory exhaustion and random kernel crashes.  Even
without the LUCI UI.
IIRC there are a couple memory leaks with that ethernet driver. I've 
been meaning to rebase my git and submit some patches for that target 
shortly.


Tkat's interesting. Please do send those patches.

Is there any stable openwrt branch for this target?

Best regards.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-12 Thread Wojciech Kromer

W dniu 12.06.2013 10:55, Wojciech Kromer pisze:


With my rt3052,16MB RAM,4MB SPI-FLASH so far
- trunk is unusable
- AA seems to work even with LUCI

Anyway
- in AA rt3052 wifi crashes at start,
  this was solved in trunk, but I do not know how to backport it


OK, there is quick and dirty workaround here 
https://dev.openwrt.org/ticket/13532


After enabling WiFi everything slows down, especially LUCI.


Best regards.

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-11 Thread Wojciech Kromer



My understanding is that OpenWRT Attitude Adjustment, along with current
versions of trunk, are not expected to run in any reliable way under less
than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
little memory, and the OpenWRT dev community likewise doesn't support it.

Hi Ben
What you means is v3.x kernel don't support 32MB RAM? not the issue of LUCI?



Everything else works fine, and I can see some devices with same 
hardware on openwrt supported list.

Also new gargoyle works pretty good.

During LUCI operations filesystem is heavly  used,
I can see a 50-90% CPU usage in [spi0] kernel process.

Using precompiled version helps a little, but it's still unusable.


Best regards.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-11 Thread Ben West
Quoting from the supported hardware list, and likewise from the Attitude
Adjustment announcement made earlier this year:

Note that with the release of 'Attitude Adjustment (12.09 final)' on 25th
April 2013, 'Lower end devices with only 16 MiB RAM will easily run out of
Memory…'.

http://wiki.openwrt.org/toh/start

I do see that some device on that list are spec'ed at 16MB RAM, and I can
only guess those are old entries.

My own attempts to get recent versions of OpenWRT running on a FONera 2100
router, which has the same CPU and RAM capacity as your device, proved
futile due to memory exhaustion and random kernel crashes.  Even without
the LUCI UI.

My understanding is that the memory requirement is a hard limit.

On Tue, Jun 11, 2013 at 4:13 AM, Wojciech Kromer wojciech.kro...@dgt.com.pl
 wrote:


   My understanding is that OpenWRT Attitude Adjustment, along with current
 versions of trunk, are not expected to run in any reliable way under less
 than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
 little memory, and the OpenWRT dev community likewise doesn't support it.
 
 Hi Ben

 What you means is v3.x kernel don't support 32MB RAM? not the issue of LUCI?



 Everything else works fine, and I can see some devices with same hardware
 on openwrt supported list.
 Also new gargoyle works pretty good.

 During LUCI operations filesystem is heavly  used,
 I can see a 50-90% CPU usage in [spi0] kernel process.

 Using precompiled version helps a little, but it's still unusable.


 Best regards.

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel




-- 
Ben West
http://gowasabi.net
b...@gowasabi.net
314-246-9434
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] LUCI works extremely slow...

2013-06-10 Thread Wojciech Kromer


on small custom device with rt3052, 16MB RAM, 4MB SPI-FLASH

Is it an known issue?
Are there any advices?

Best regards.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-10 Thread Ben West
My understanding is that OpenWRT Attitude Adjustment, along with current
versions of trunk, are not expected to run in any reliable way under less
than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
little memory, and the OpenWRT dev community likewise doesn't support it.

On Mon, Jun 10, 2013 at 11:20 AM, Wojciech Kromer 
wojciech.kro...@dgt.com.pl wrote:


 on small custom device with rt3052, 16MB RAM, 4MB SPI-FLASH

 Is it an known issue?
 Are there any advices?

 Best regards.
 __**_
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.**org openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/**mailman/listinfo/openwrt-develhttps://lists.openwrt.org/mailman/listinfo/openwrt-devel




-- 
Ben West
http://gowasabi.net
b...@gowasabi.net
314-246-9434
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-10 Thread xakep6666
Try to use 'openwrt' theme (old)
10.06.2013 22:13 пользователь Ben West b...@gowasabi.net написал:

 My understanding is that OpenWRT Attitude Adjustment, along with current
 versions of trunk, are not expected to run in any reliable way under less
 than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
 little memory, and the OpenWRT dev community likewise doesn't support it.

 On Mon, Jun 10, 2013 at 11:20 AM, Wojciech Kromer 
 wojciech.kro...@dgt.com.pl wrote:


 on small custom device with rt3052, 16MB RAM, 4MB SPI-FLASH

 Is it an known issue?
 Are there any advices?

 Best regards.
 __**_
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.**org openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/**mailman/listinfo/openwrt-develhttps://lists.openwrt.org/mailman/listinfo/openwrt-devel




 --
 Ben West
 http://gowasabi.net
 b...@gowasabi.net
 314-246-9434

 ___
 openwrt-devel mailing list
 openwrt-devel@lists.openwrt.org
 https://lists.openwrt.org/mailman/listinfo/openwrt-devel


___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-10 Thread Manuel Munz
On 10.06.2013 20:13, Ben West wrote:
 My understanding is that OpenWRT Attitude Adjustment, along with current
 versions of trunk, are not expected to run in any reliable way under less
 than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
 little memory, and the OpenWRT dev community likewise doesn't support it.
 

Ack. But maybe he is running an older version or just wants to try. What
helps to speed up luci is to build images with luci precompiled
(luci-libs) in menuconfig.

Regards, Manuel




signature.asc
Description: OpenPGP digital signature
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-10 Thread jinzhcheng

My understanding is that OpenWRT Attitude Adjustment, along with current
versions of trunk, are not expected to run in any reliable way under less
than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
little memory, and the OpenWRT dev community likewise doesn't support it.

Hi BenWhat you means is v3.x kernel don't support 32MB RAM? not the issue of 
LUCI?___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] LUCI works extremely slow...

2013-06-10 Thread Ben West
Hi Jinzcheng.  Indeed, you are correct that LUCI's speed of operation would
not be directly related to memory requirements for a v3.x kernel.
Likewise, Manuel is correct that older versions of OpenWRT should run OK
with 16MB RAM, e.g. Backfire v10.03.1 or so, and that pre-compiling LUCI's
source files could yield some performance improvement.

The OP didn't specify which version of OpenWRT he is using, and I assumed
it was a newer one incorporating the v 3.x kernel.  I responded, since I
was suggesting the slow LUCI could also be due to the kernel leaving too
little available RAM for lua and other application-layer elements.

On Mon, Jun 10, 2013 at 6:51 PM, jinzhcheng bjzhoug...@126.com wrote:


 My understanding is that OpenWRT Attitude Adjustment, along with current
 versions of trunk, are not expected to run in any reliable way under less
 than 32MB of RAM.  In particular, the v3.x kernel is not supported for so
 little memory, and the OpenWRT dev community
 likewise doesn't support it.
 
 Hi Ben

 What you means is v3.x kernel don't support 32MB RAM? not the issue of LUCI?






-- 
Ben West
http://gowasabi.net
b...@gowasabi.net
314-246-9434
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel