Re: [kde-freebsd] KDE4 processes (10-CURRENT r255948, ports r328930), slimm down for netbook?

2013-10-12 Thread Matthias Apitz
El día Thursday, October 10, 2013 a las 11:08:41AM +, Schaich Alonso 
escribió:

 You can configure some of the kde background activies using systemsettings
 from kde4-workspace. There's a KCM* called startup and shutdown in the
 system administration section, which has several fields to configure
 background services and application autostart/session resuming.
 
 Also, in the application appearance KCM of the common appearance and
 behaviour section systemsettings has a graphical effects setting in it's
 fine tuning tab of the style (i'll call it ``page'' for now, the thing to
 select on the left) that has some impact on performance over here.
 
 If you have nepomuk/strigi indexing service installed and running, disabling
 it might save a considerable amount of storage IO. It can be disabled using
 the desktop search KCM of the workspace appearance and behaviour section of
 systemsettings. Of cause, not installing nepomuk to begin with also works ;)
 
 Hope that helped,
 Alonso
 
 *KCM means KDE Configuration Module, it's the items systemsettings.

Hi Alonso,

I followed your hints and the startup time of KDE4 slightly improved.
Thanks.

Then I copied the /usr/local from the USB to the SSD of the EeePC and
mounted it from there during boot. This has nearly no effect on the
start time of KDE4. What really helped was copying the HOME of the user
of KDE4 to the SSD. There seems to be a lot of disk i/o in the mysql
database and other files on startup.

I know have to learn how to manage KDE4 because it differs a lot from
KDE3.

Thanks

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information


[kde-freebsd] KDE4 processes (10-CURRENT r255948, ports r328930), slimm down for netbook?

2013-10-10 Thread Matthias Apitz
Hello,

I have prepared a bootable USB key with 10-CURRENT and KDE4 from ports;
it boots fine in my little EeePC 900, takes around 90 secs until
login: and KDE4 starts fine too, takes around 240 secs from startx to
be able to start an xterm application in KDE4 desktop; i.e. it works,
even from such a slow USB key which has a read performance of 1 to 17 MByte
per sec, depending of the blocksize 512 or 8m;

All this is only a proof of concept to prepare such USB key to boot from
and reinstall from it the system on my EeePC netbook which runs at
the moment r235646 with KDE3 (which is now dropped from our ports tree).

It seems that KDE4 launches a lot of applications or services which I
will not need, for example all these akonadi_maildir processes (see
attached ps -ax output; for what they are good for?

Any hints to slimm down the KDE4 on a minimum for small netbooks?

Thx

matthias


 PID TT  STATTIME COMMAND
   0  -  DLs  0:00.05 [kernel]
   1  -  ILs  0:00.02 /sbin/init --
   2  -  DL   0:00.00 [sctp_iterator]
   3  -  DL   0:00.00 [xpt_thrd]
   4  -  DL   0:00.11 [pagedaemon]
   5  -  DL   0:00.00 [vmdaemon]
   6  -  DL   0:00.00 [pagezero]
   7  -  DL   0:00.00 [bufdaemon]
   8  -  DL   0:00.09 [syncer]
   9  -  DL   0:00.00 [vnlru]
  10  -  DL   0:00.00 [audit]
  11  -  RL   2:53.86 [idle]
  12  -  WL   0:02.35 [intr]
  13  -  DL   0:00.84 [geom]
  14  -  DL   0:00.05 [rand_harvestq]
  15  -  DL   0:00.90 [usb]
  16  -  DL   0:00.03 [acpi_thermal]
  17  -  DL   0:00.00 [softdepflush]
1391  -  Ss   0:00.03 /sbin/devd
1536  -  Ss   0:00.04 /usr/sbin/syslogd -s
1560  -  DL   0:00.04 [md0]
1641  -  Is   0:00.60 /usr/sbin/moused -p /dev/psm0 -t auto
1686  -  Is   0:00.00 /usr/sbin/sshd
1689  -  Ss   0:00.02 sendmail: accepting connections (sendmail)
1692  -  Is   0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmque
1696  -  Ss   0:00.05 /usr/sbin/cron -s
1796  -  Is   0:19.46 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-a
1802  -  Is   0:00.91 kdeinit4: kdeinit4 Running... (kdeinit4)
1803  -  I0:00.60 kdeinit4: kdeinit4: klauncher --fd=8 (kdeinit4)
1805  -  I0:05.90 kdeinit4: kdeinit4: kded4 (kdeinit4)
1807  -  I0:00.07 /usr/local/libexec/gam_server
1811  -  I0:02.99 kdeinit4: kdeinit4: kglobalaccel (kdeinit4)
1817  -  I0:06.23 /usr/local/kde4/bin/knotify4
1819  -  I0:02.45 kdeinit4: kdeinit4: ksmserver (kdeinit4)
1820  -  I0:11.72 kwin -session 10d6114d4e60001381347192001812_1381
1824  -  I0:14.72 kdeinit4: kdeinit4: plasma-desktop (kdeinit4)
1827  -  I0:20.26 /usr/local/kde4/bin/akonadi_control
1828  -  I0:02.79 akonadiserver
1830  -  I0:03.56 /usr/local/libexec/mysqld --defaults-file=/home/guru/.loc
1838  -  I0:02.07 /usr/local/kde4/bin/kuiserver
1840  -  I0:00.08 kdeinit4: kdeinit4: nepomukserver (kdeinit4)
1843  -  I0:04.73 kdeinit4: kdeinit4: krunner (kdeinit4)
1845  -  I0:02.35 kdeinit4: kdeinit4: kmix -session 10d6114d4e6000138134736
1846  -  IN   0:00.93 /usr/local/kde4/bin/nepomukservicestub nepomukstorage
1849  -  I0:00.60 /usr/local/kde4/bin/nepomukcontroller -session 10d6114d4e
1852  -  I0:01.04 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1853  -  I0:01.07 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1854  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1855  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1856  -  I0:03.81 /usr/local/kde4/bin/akonadi_archivemail_agent --identifie
1857  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_ical_r
1858  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1859  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1860  -  I0:01.12 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1861  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1862  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1863  -  I0:01.10 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1864  -  I0:01.06 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1865  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1866  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1867  -  I0:01.03 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1868  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1869  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1870  -  I0:01.10 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1871  -  I0:01.11 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1872  -  I0:01.12 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1873  -  I0:01.05 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1874  -  I0:01.11 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1875 

Re: [kde-freebsd] KDE4 processes (10-CURRENT r255948, ports r328930), slimm down for netbook?

2013-10-10 Thread Schaich Alonso
On Thu, 10 Oct 2013 10:01:49 +0200
Matthias Apitz g...@unixarea.de wrote:

 Hello,
 
 I have prepared a bootable USB key with 10-CURRENT and KDE4 from ports;
 it boots fine in my little EeePC 900, takes around 90 secs until
 login: and KDE4 starts fine too, takes around 240 secs from startx to
 be able to start an xterm application in KDE4 desktop; i.e. it works,
 even from such a slow USB key which has a read performance of 1 to 17 MByte
 per sec, depending of the blocksize 512 or 8m;
 
 All this is only a proof of concept to prepare such USB key to boot from
 and reinstall from it the system on my EeePC netbook which runs at
 the moment r235646 with KDE3 (which is now dropped from our ports tree).
 
 It seems that KDE4 launches a lot of applications or services which I
 will not need, for example all these akonadi_maildir processes (see
 attached ps -ax output; for what they are good for?
 
 Any hints to slimm down the KDE4 on a minimum for small netbooks?
 
 Thx
 
   matthias
 
 [...]

The USB media is not the bottleneck here. The box I'm writing this email from
uses an USB key which is even slower than yours as boot/root/usr.local (i.e.
the things are don't need to be backup-ed), in order to be able to perform a
full bootup even if the ZRAID fails to come online, and I can launch have
konsole/konqueror in like 60 seconds from POST. Dual Xeon E5-2620 and
enough memory though.

You can configure some of the kde background activies using systemsettings
from kde4-workspace. There's a KCM* called startup and shutdown in the
system administration section, which has several fields to configure
background services and application autostart/session resuming.

Also, in the application appearance KCM of the common appearance and
behaviour section systemsettings has a graphical effects setting in it's
fine tuning tab of the style (i'll call it ``page'' for now, the thing to
select on the left) that has some impact on performance over here.

If you have nepomuk/strigi indexing service installed and running, disabling
it might save a considerable amount of storage IO. It can be disabled using
the desktop search KCM of the workspace appearance and behaviour section of
systemsettings. Of cause, not installing nepomuk to begin with also works ;)

Hope that helped,
Alonso

*KCM means KDE Configuration Module, it's the items systemsettings.
___
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information