[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_content.php on line 678: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
MIB - Mandriva International Backports - Mandriva Linux Forum - OpenMandriva Linux Forum - ROSA Linux Forum • View topic - Alternative "Initscripts" for OpenMandriva 2014.2 & ROSA R6
Page 1 of 1

Alternative "Initscripts" for OpenMandriva 2014.2 & ROSA R6

PostPosted: 19 June 2015, 19:21
by NicCo
OpenMandriva is currently using a rather extreme configuration for Swappiness, with values heavily optimized for a desktop use:
this has been made some time ago to override different troubles with Firefox hanging when multiple tables were open at once...

these configuration changed mainly the swappiness values, and something else...


Giuseppe Ghibò has informed me that these configuration, in some conditions may have some bad sideeffects on the overall performances of a PC, so he has restored these values to their default values, and has offered us the chance to test this with his rpms

for OpenMandriva 2014 - 64bit
http://abf-downloads.rosalinux.ru/ghibo ... x86_64.rpm

for OpenMandriva 2014 - 32bit
http://abf-downloads.rosalinux.ru/ghibo ... 0.i586.rpm

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 30 June 2015, 12:23
by NicCo
I suggest to try these rpms:
then inform us what changes are for you (it works better or worser?)...

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 15 July 2015, 12:12
by mandian
My main problem was that when I compiled with java from my cooker chroot hosted on a omv2014 all the memory was occupied and most of the swap too so my pc became very slow whit some temporary freeze. But using an old not updated chroot java ran smooth so it was a java problem. In fact on last Monday I received an update for java which solves this problem. :)

In any way I installed this alternative initscript package because when I use a lot of firefox tab and libreoffice and some other program such as jabref the pc became very slow (I haven't so many ram inside, just 2Gb). IMHO with the new initscript configs it work better because I don't experience freeze any more and it never became so slow that mouse and keyboard freeze.

Maybe you can interest I'm using the kernel 3.18.16-nrjQL-laptop-2omv,

bye,
mandian

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 17 July 2015, 0:17
by oiram73
Hi!
I installed this rpm for about a week: memory consumption has been reduced considerably; also they broke down the Frezze temporary speed and lock the keyboard and mouse. And that's good!
;)

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 17 July 2015, 2:14
by benbullard79

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 17 July 2015, 2:19
by benbullard79

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 21 July 2015, 23:08
by benbullard79

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 22 July 2015, 13:40
by joeghi
Dear ben,

The vm.swappiness is a kernel parameter that control the "tendency" of
the kernel to swap or to use the swap space. Here is a better
explanation:

https://en.wikipedia.org/wiki/Swappiness

Over the years, speculations were made about which value was better,
someone says that it's better to swap, someone says that it's
better to not swap (because have plenty of RAM and wants to preserve the
disks or the SSDs) and so on. Some tweaking guide around the web
advice to alter to a value of 0 or 10 to get better performance
(performance in the sense of responsiveness of a desktop system), some
other guide instead advice to leave the default value. Some further
guide says that is anyway obsolete and it's no longer used to promote
or disable the swapping anyway. There is not a final word on this and
one can do advocacy and speculations forever.

The default value is 60 and it's set internally to the kernel. To
alter such value you can either do as root:

echo 10 > /proc/sys/vm/swappiness

and that works until you change again or do a reboot. Under OMV
2014.1/2 (dunno about cooker), the default value is altered internally
into the initscripts package, and in particular in the file:
/usr/lib/sysctl.d/00-system.conf. What I made in my special
initscripts package build, is just to comment these special "tweaking"
and leave the default values which are set before in the kernel.

Anyway I, NiCCo (and many others) found "empirically" that the
original OMV special tweaking don't give (when they work) much visible
performance improvement over the default values, but on the contrary
when they don't work the problems are clearly visible and the system
become unusable as many have experienced. So the conservative choice
is, if possible, to not to alter these values with tweaked ones.

Also none of the other major upstream distros, even the most
responsive ones, alter these values by default.

What other package might alter these values? The "tuned" package,
which might "dinamically" alter the internal values beyond to whatever
value you might have placed into 00-system.conf, and in fact my
suggestion to avoid interfering is to disable it (systemctl stop
tuned.service; systemctl disable tuned.service) or uninstall such
package too or to not install it by default.

What exactly are the values altered by the tweaking? Looking to old
00-system.conf, we see that changes were made in the previous OMV
initscripts (up to 9.53-1.6) to the following internal kernel
parameters:

vm.swappiness from 60 to 10
vm.vfs_cache_pressure from 100 to 50
vm.dirty_writeback_centisecs from 500 to 1500 (sound required by powertop)

kernel.shmmax from 33554432 to 4294967295
kernel.shmall from 2097152 to 268435456

net.bridge.bridge-nf-call-{iptables,ip6tables ,arptables} -> set to 0
(to disable netfilter on bridges)

kernel.nmi_watchdog -> 0 (disable NMI watchdog)

I do not enter in merit of net.bridges, and kernel.nmi_watchdog, as
are not related, but in initscripts-9.53-1.7|1.8 I just switched back (or to be
precise, I've not let the package initscripts altering) the values of:

vm.swappiness -> so it goes back to default 60
vm.vfs_cache_pressure -> so it goes back to default 100
vm.dirty_writeback_centisecs -> this is left altered as in original
initscripts to 1500.

in initscripts-9.53-1.8 I also switched back (commented in):

kernel.shmmax -> so it goes back 33554432
kernel.shmall -> so it goes back to 2097152

as these values are tipically changed for managing or improving the
performance of big databases (e.g. Oracle) and I don't see any reason
in a desktop environment to tweak them.

Re: Alternative Initscripts configs for OpenMandriva 2014

PostPosted: 23 July 2015, 22:18
by joeghi
Version for Rosa 2014.1 for correcting the same problems, here:

http://abf-downloads.rosalinux.ru/ghibo ... x86_64.rpm

(sources in the same repository).

G.

Re: Alternative "Initscripts" for OpenMandriva 2014.2 & ROSA

PostPosted: 23 July 2015, 23:53
by benbullard79
joeghi thanks for the informative post.