Ticket #3135 (closed defect: fixed)
: : TrafficShaping Slow to add new rule
| Reported by: | clebersleite@… | Owned by: | jacalvo@… |
|---|---|---|---|
| Milestone: | nice to have someday | Component: | base |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hello,
When I try to add a new rule to control bandwidth when there are more than 100 rules takes 2 minutes to add. I can not understand why it takes so much in a Core 2 CPU P4 with 2 gigabytes of memory and 512 SATA2 HD.
Any suggestions?
Attachments
Change History
comment:2 Changed 22 months ago by clebersleite@…
ii duplicity 0.6.13-0ubuntu1+zentyal1 encrypted bandwidth-efficient backup ii l7-filter-userspace 0.11-4+zentyal Userspace layer 7 packet classifier ii language-pack-zentyal-pt-br 2.1.2 Zentyal translations for language Portuguese ii libhtml-mason-perl 1:1.44-1+zentyal1 HTML::Mason Perl module ii libjs-jquery 1.5-2ubuntu1+zentyal1 JavaScript? library for dynamic web applicati ii liblog-any-perl 0.11-1+zentyal1 Log anywhere ii php-mail-mime 1.8.0-2+zentyal1 PHP PEAR module for creating MIME messages ii php-net-smtp 1.4.2-3+zentyal1 PHP PEAR module implementing SMTP protocol ii roundcube 0.5.3+dfsg-1+zentyal1 skinnable AJAX based webmail solution for IM ii roundcube-core 0.5.3+dfsg-1+zentyal1 skinnable AJAX based webmail solution for IM ii roundcube-pgsql 0.5.3+dfsg-1+zentyal1 metapackage providing PostgreSQL dependencie ii roundcube-plugins 0.5.3+dfsg-1+zentyal1 skinnable AJAX based webmail solution for IM ii roundcube-sqlite 0.5.3+dfsg-1+zentyal1 metapackage providing sqlite dependencies fo ii zentyal 2.1-1 Zentyal - Core metapackage ii zentyal-antivirus 2.1.2 Zentyal - Antivirus ii zentyal-bwmonitor 2.1.2 Zentyal - Bandwidth Monitor ii zentyal-ca 2.1.3 Zentyal - Certification Authority ii zentyal-common 2.1.6 Zentyal - Common Library ii zentyal-core 2.1.19 Zentyal - Core ii zentyal-dhcp 2.1.5 Zentyal - DHCP Service ii zentyal-dns 2.1.4 Zentyal - DNS Service ii zentyal-ebackup 2.1.4 Zentyal - Backup ii zentyal-firewall 2.1.3 Zentyal - Firewall ii zentyal-ftp 2.1.1 Zentyal - FTP ii zentyal-gateway 2.1-1 Zentyal - Gateway Suite ii zentyal-ids 2.1.1 Zentyal - Intrusion Detection System ii zentyal-infrastructure 2.1-1 Zentyal - Network Infrastructure Suite ii zentyal-ipsec 2.1.3 Zentyal - IPsec ii zentyal-l7-protocols 2.1 Zentyal - Layer-7 Filter ii zentyal-mail 2.1.7 Zentyal - Mail Service ii zentyal-mailfilter 2.1.4 Zentyal - Mail Filter ii zentyal-monitor 2.1.2 Zentyal - Monitor ii zentyal-network 2.1.8 Zentyal - Network Configuration ii zentyal-ntp 2.1.3 Zentyal - NTP Service ii zentyal-objects 2.1.2 Zentyal - Network Objects ii zentyal-office 2.1-1 Zentyal - Office Suite ii zentyal-openvpn 2.1.4 Zentyal - VPN Service ii zentyal-pptp 2.1.1 Zentyal - PPTP ii zentyal-printers 2.1.4 Zentyal - Printer Sharing Service ii zentyal-remoteservices 2.1.4 Zentyal - Zentyal Cloud Client ii zentyal-samba 2.1.4 Zentyal - File Sharing Service ii zentyal-security 2.1-1 Zentyal - UTM Suite ii zentyal-services 2.1.4 Zentyal - Network Services ii zentyal-software 2.1.10 Zentyal - Software Management ii zentyal-squid 2.1.6 Zentyal - HTTP Proxy (Cache and Content Filt ii zentyal-trafficshaping 2.1.2 Zentyal - Traffic Shaping ii zentyal-usercorner 2.1.4 Zentyal - User Corner ii zentyal-users 2.1.7 Zentyal - Users and Groups ii zentyal-webmail 2.1.2 Zentyal - Web Mail Service ii zentyal-webserver 2.1.2 Zentyal - Web Server
comment:3 Changed 21 months ago by jacalvo@…
- Milestone changed from 2.2 to nice to have someday
As you may know we have made some general performance improvements for 2.2 (which makes it way faster than 2.0). Unfortunately, the traffic shaping mode hasn't been improved (it still has some slow operations that, as you say, are noticeable when you have a big amount of rules). As the 2.2 is already frozen, I'm afraid these optimizations will have to wait until 2.3.
Thanks for reporting anyway!

Please, could you provide the versions of your installed packages?
You can get them with this command:
dpkg -l | grep zentyal
Thanks.