Newbie Questions - Tasks - QT - Alpha CDs - UTF

Other talk about Salix
Post Reply
halfmeg
Posts: 2
Joined: 5. Jan 2011, 16:29

Newbie Questions - Tasks - QT - Alpha CDs - UTF

Post by halfmeg »

Hi folks, I have been running Vector Linux 5.1, kernel 2.6.12, for the last 5 years or so without having any updating going on. Once I got it working the way I wanted I 'froze' the software so to speak.

It is past time to upgrade and looking around the various distros, SalixOS has caught my eye. I downloaded both the LIVE CD and 64-bit 13.1 XFCE versions as XFCE is what I have been running. A test install to hard drive with both versions gave me the indication here that 64-bit might be more responsive. However subjective that may be, 64-bit is what will probably be installed.

I installed the FULL choice and one of the first things I noticed is the large increase in the number of TASKS reported by TOP. VL shows less than 75, ( increases to 86 after MySQL and other MythTV startups take place ) while SalixOS 13.1 shows just less than 180. I have no idea what all that stuff may be but is it taking system resources ( of any kind ) to have those running/sleeping ? How does one eliminate the ones not needed ?

I forgot to check whether QT is one of the applications included in the distribution. If not, I am a little confused about when a package to be downloaded/installed is a SalixOS, Slackware or needs to build from source and what configuration changes ( repository additions ? ) may need to take place. I built QT from source last time around but things change and a recent attempt to build mplayer on my current environment needs make 3.8.1 (?) to even compile. A few years ago it didn't.

Instead of customizing a 13.1 install, should I attempt to work with the 13.2 Alpha version ? One of the considerations here is that once customizing is done, no further updates will take place to 'break' something which is working properly and to my satisfaction.


During install of SalixOS I noticed the UTF suffixed to the selection. I follow Barry Kauler's blog about his Puppy Linux. In Jan 2009, he posted concerning a slowdown encountered when 'locale lookups' and/or UTF8 was specified. I don't pretend to understand what all of it is, whether is affects all distros, etc... His post is at here: bkhome.org/blog/?viewDetailed=00553

Is this something which also impacts SalixOS ?

Phil
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Newbie Questions - Tasks - QT - Alpha CDs - UTF

Post by gapan »

Hi halfmeg, welcome to the Salix forums.
halfmeg wrote:I installed the FULL choice and one of the first things I noticed is the large increase in the number of TASKS reported by TOP. VL shows less than 75, ( increases to 86 after MySQL and other MythTV startups take place ) while SalixOS 13.1 shows just less than 180. I have no idea what all that stuff may be but is it taking system resources ( of any kind ) to have those running/sleeping ? How does one eliminate the ones not needed ?
I wouldn't worry about that. If you look closely the difference is probably created by consolekit, which spawns a lot of threads (but within a single process), which register as different "tasks" in top.
halfmeg wrote:I forgot to check whether QT is one of the applications included in the distribution. If not, I am a little confused about when a package to be downloaded/installed is a SalixOS, Slackware or needs to build from source and what configuration changes ( repository additions ? ) may need to take place. I built QT from source last time around but things change and a recent attempt to build mplayer on my current environment needs make 3.8.1 (?) to even compile. A few years ago it didn't.
QT is not installed by default in the Xfce edition, but you can add it using the package manager (slapt-get or gslapt).
halfmeg wrote:Instead of customizing a 13.1 install, should I attempt to work with the 13.2 Alpha version ? One of the considerations here is that once customizing is done, no further updates will take place to 'break' something which is working properly and to my satisfaction.
No. The 13.2alpha1 version is based on current and that is in a state of flux until 13.2 is actually released. So, it's not the way to go if you want a stable system.
halfmeg wrote:During install of SalixOS I noticed the UTF suffixed to the selection. I follow Barry Kauler's blog about his Puppy Linux. In Jan 2009, he posted concerning a slowdown encountered when 'locale lookups' and/or UTF8 was specified. I don't pretend to understand what all of it is, whether is affects all distros, etc... His post is at here: bkhome.org/blog/?viewDetailed=00553

Is this something which also impacts SalixOS ?
I don't know, I haven't checked. Could be. No idea what this speed-test script that he mentions really does. If you're running CPU intensive scripts, you could export LANG=C in every script you're running. But if you have some CPU intensive tasks, writing them as shell scripts shouldn't really be your first choice.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Newbie Questions - Tasks - QT - Alpha CDs - UTF

Post by thenktor »

gapan wrote:I don't know, I haven't checked. Could be. No idea what this speed-test script that he mentions really does. If you're running CPU intensive scripts, you could export LANG=C in every script you're running. But if you have some CPU intensive tasks, writing them as shell scripts shouldn't really be your first choice.
Looks like testing just for the sake of testing to me. In real world scripts I never noticed any slow down with utf8.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
halfmeg
Posts: 2
Joined: 5. Jan 2011, 16:29

Re: Newbie Questions - Tasks - QT - Alpha CDs - UTF

Post by halfmeg »

I wouldn't worry about that. If you look closely the difference is probably created by consolekit, which spawns a lot of threads (but within a single process), which register as different "tasks" in top.
Thanks for your response. I have been ill or would have gotten back sooner. A 'top -bn1 | sort -k12' shows only one 'console-kit'.

Installed 13.1 'basic' and still have 134 tasks ( includes terminal, top & sort ) after initial install. If this is 'the way it is now-a-days', I guess there is nothing to be done. It doesn't seem right however.

Code: Select all

Cpu(s):  5.5%us,  2.0%sy,  0.0%ni, 88.8%id,  3.7%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:    949164k total,   327612k used,   621552k free,    26216k buffers
Swap:  1028156k total,        0k used,  1028156k free,   114920k cached
Tasks: 135 total,   1 running, 134 sleeping,   0 stopped,   0 zombie
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
top - 16:52:40 up 9 min,  2 users,  load average: 1.38, 0.98, 0.52
 2047 myth      20   0  148m  17m 9880 S    0  1.9   0:00.84 Terminal           
 2027 myth      20   0  272m  19m  10m S    0  2.1   0:00.85 Thunar             
 1947 root      20   0  230m  52m 8608 S    2  5.7   0:24.34 X                  
 1592 root      20   0  4068  652  536 S    0  0.1   0:00.00 acpid              
 1929 root      20   0  4052  628  532 S    0  0.1   0:00.00 agetty             
 1930 root      20   0  4052  624  532 S    0  0.1   0:00.00 agetty             
 1931 root      20   0  4052  628  532 S    0  0.1   0:00.00 agetty             
  541 root      20   0     0    0    0 S    0  0.0   0:00.00 aio/0              
  542 root      20   0     0    0    0 S    0  0.0   0:00.00 aio/1              
   26 root      20   0     0    0    0 S    0  0.0   0:00.00 async/mgr          
  355 root      20   0     0    0    0 S    0  0.0   0:00.00 ata_aux            
  356 root      20   0     0    0    0 S    0  0.0   0:00.09 ata_sff/0          
  357 root      20   0     0    0    0 S    0  0.0   0:00.00 ata_sff/1          
 1807 daemon    20   0 12484  356  220 S    0  0.0   0:00.00 atd                
 2049 myth      20   0 19236 1996 1388 S    0  0.2   0:00.02 bash               
  251 root      20   0     0    0    0 S    0  0.0   0:00.00 bdi-default        
  977 root      20   0     0    0    0 S    0  0.0   0:00.00 block-osm/0        
  978 root      20   0     0    0    0 S    0  0.0   0:00.00 block-osm/1        
  805 root      20   0     0    0    0 S    0  0.0   0:00.00 cciss_scan         
 1603 root      20   0  119m 3396 2420 S    0  0.4   0:00.05 console-kit-dae    
 1805 root      20   0 12492  744  604 S    0  0.1   0:00.00 crond              
  620 root      20   0     0    0    0 S    0  0.0   0:00.00 crypto/0           
  621 root      20   0     0    0    0 S    0  0.0   0:00.00 crypto/1           
 1600 messageb  20   0 19472 1056  736 S    0  0.1   0:00.07 dbus-daemon        
 2012 myth      20   0 19504  836  600 S    0  0.1   0:00.06 dbus-daemon        
 2011 myth      20   0 34716  672  404 S    0  0.1   0:00.00 dbus-launch        
  611 root      20   0     0    0    0 S    0  0.0   0:00.00 delete_workqueu    
  612 root      20   0     0    0    0 S    0  0.0   0:00.00 delete_workqueu    
 1514 root      20   0  8376  356  212 S    0  0.0   0:00.00 dhcpcd             
    9 root      20   0     0    0    0 S    0  0.0   0:00.03 events/0           
   10 root      20   0     0    0    0 S    0  0.0   0:00.00 events/1           
  970 root      20   0     0    0    0 S    0  0.0   0:00.00 exec-osm/0         
  971 root      20   0     0    0    0 S    0  0.0   0:00.00 exec-osm/1         
 1066 root      20   0     0    0    0 S    0  0.0   0:00.00 ext4-dio-unwrit    
 1067 root      20   0     0    0    0 S    0  0.0   0:00.00 ext4-dio-unwrit    
 1400 root      20   0     0    0    0 S    0  0.0   0:00.00 ext4-dio-unwrit    
 1401 root      20   0     0    0    0 S    0  0.0   0:00.00 ext4-dio-unwrit    
  832 root      20   0     0    0    0 S    0  0.0   0:00.00 fc_exch_workque    
  833 root      20   0     0    0    0 S    0  0.0   0:00.00 fc_rport_eq        
  834 root       0 -20     0    0    0 S    0  0.0   0:00.00 fcoethread/0       
  835 root       0 -20     0    0    0 S    0  0.0   0:00.00 fcoethread/1       
 1307 root      20   0     0    0    0 S    0  0.0   0:00.02 flush-8:0          
 2229 root      20   0     0    0    0 S    0  0.0   0:00.00 flush-8:16         
  838 root      20   0     0    0    0 S    0  0.0   0:00.00 fnic_event_wq      
 2037 myth      20   0 15940 1472 1100 S    0  0.2   0:00.03 gam_server         
 1932 root      20   0  113m 4688 3600 S    0  0.5   0:00.07 gdm-binary         
 1945 root      20   0  113m 4268 3024 S    0  0.4   0:00.02 gdm-binary         
  609 root      20   0     0    0    0 S    0  0.0   0:00.00 glock_workqueue    
  610 root      20   0     0    0    0 S    0  0.0   0:00.00 glock_workqueue    
 2048 myth      20   0 14532  800  648 S    0  0.1   0:00.00 gnome-pty-helpe    
 1672 haldaemo  20   0 42056 4432 3280 S    0  0.5   0:00.23 hald               
 1795 haldaemo  20   0 28396 1280 1068 S    0  0.1   0:00.00 hald-addon-acpi    
 1774 root      20   0 26588 1168  988 S    0  0.1   0:00.04 hald-addon-inpu    
 1789 root      20   0 26592 1168  980 S    0  0.1   0:00.01 hald-addon-stor    
 1790 root      20   0 26592 1168  980 S    0  0.1   0:00.24 hald-addon-stor    
 2213 root      20   0 26592 1172  980 S    0  0.1   0:00.00 hald-addon-stor    
 1745 root      20   0 20344 1368 1116 S    0  0.1   0:00.01 hald-runner        
 1311 root      20   0     0    0    0 S    0  0.0   0:00.00 hd-audio0          
    1 root      20   0  4056  660  564 S    0  0.1   0:00.40 init               
  825 root      20   0     0    0    0 S    0  0.0   0:00.00 iscsi_eh           
 1065 root      20   0     0    0    0 S    0  0.0   0:00.00 jbd2/sda1-8        
 1399 root      20   0     0    0    0 S    0  0.0   0:00.06 jbd2/sda3-8        
  578 root      20   0     0    0    0 S    0  0.0   0:00.00 jfsCommit          
  579 root      20   0     0    0    0 S    0  0.0   0:00.00 jfsCommit          
  577 root      20   0     0    0    0 S    0  0.0   0:00.00 jfsIO              
  580 root      20   0     0    0    0 S    0  0.0   0:00.00 jfsSync            
  258 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpi_hotplug      
  257 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpi_notify       
  256 root      20   0     0    0    0 S    0  0.0   0:00.00 kacpid             
  253 root      20   0     0    0    0 S    0  0.0   0:00.03 kblockd/0          
  254 root      20   0     0    0    0 S    0  0.0   0:00.03 kblockd/1          
   11 root      20   0     0    0    0 S    0  0.0   0:00.02 khelper            
  362 root      20   0     0    0    0 S    0  0.0   0:00.00 khubd              
  494 root      20   0     0    0    0 S    0  0.0   0:00.00 khungtaskd         
 1440 root      20   0  4056  428  336 S    0  0.0   0:00.00 klogd              
 1264 root      20   0     0    0    0 S    0  0.0   0:00.00 kpsmoused          
  365 root      20   0     0    0    0 S    0  0.0   0:00.01 kseriod            
  617 root      15  -5     0    0    0 S    0  0.0   0:00.00 kslowd000          
  618 root      15  -5     0    0    0 S    0  0.0   0:00.00 kslowd001          
 1040 root      20   0     0    0    0 S    0  0.0   0:00.00 ksnapd             
    3 root      20   0     0    0    0 S    0  0.0   0:00.00 ksoftirqd/0        
    7 root      20   0     0    0    0 S    0  0.0   0:00.00 ksoftirqd/1        
 1038 root      20   0     0    0    0 S    0  0.0   0:00.00 kstriped           
  495 root      20   0     0    0    0 S    0  0.0   0:00.00 kswapd0            
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd           
    4 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0        
    6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1        
   23 root      20   0     0    0    0 S    0  0.0   0:00.00 netns              
  564 root      20   0     0    0    0 S    0  0.0   0:00.00 nfsiod             
 1798 root      20   0 13840 1216  992 S    0  0.1   0:00.02 ntpd               
  599 root      20   0     0    0    0 S    0  0.0   0:00.00 o2quot/0           
  600 root      20   0     0    0    0 S    0  0.0   0:00.00 o2quot/1           
  598 root      20   0     0    0    0 S    0  0.0   0:00.00 ocfs2_wq           
   27 root      20   0     0    0    0 S    0  0.0   0:00.00 pm                 
 1742 root      20   0  121m 3304 2568 S    0  0.3   0:00.05 polkitd            
  468 root      20   0     0    0    0 S    0  0.0   0:00.00 rpciod/0           
  469 root      20   0     0    0    0 S    0  0.0   0:00.00 rpciod/1           
  897 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_0          
  900 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_1          
  903 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_2          
  908 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_3          
  922 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_4          
  925 root      20   0     0    0    0 S    0  0.0   0:00.14 scsi_eh_5          
 2193 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_eh_6          
  810 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_tgtd/0        
  811 root      20   0     0    0    0 S    0  0.0   0:00.00 scsi_tgtd/1        
 1970 myth      20   0 10668 1608 1184 S    0  0.2   0:00.05 sh                 
 2236 myth      20   0 73280  996  724 S    0  0.1   0:00.00 sort               
 1998 myth      20   0 20620  540  228 S    0  0.1   0:00.00 ssh-agent          
  249 root      20   0     0    0    0 S    0  0.0   0:00.00 sync_supers        
 1436 root      20   0  6164  664  532 S    0  0.1   0:00.01 syslogd            
 2235 myth      20   0 19272 1248  904 R    2  0.1   0:00.01 top                
 1095 root      16  -4 17224 1160  536 S    0  0.1   0:00.11 udevd              
 2202 root      18  -2 17220 1084  456 S    0  0.1   0:00.00 udevd              
 2203 root      18  -2 17220 1072  444 S    0  0.1   0:00.00 udevd              
 2194 root      20   0     0    0    0 S    0  0.0   0:00.01 usb-storage        
  603 root      20   0     0    0    0 S    0  0.0   0:00.00 user_dlm           
    5 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/0         
    8 root      RT   0     0    0    0 S    0  0.0   0:00.00 watchdog/1         
 2038 myth      20   0  178m  17m 9260 S    0  1.8   0:00.72 xfce4-menu-plug    
 2025 myth      20   0  170m  16m 8996 S    0  1.8   0:01.32 xfce4-panel        
 2014 myth      20   0  138m 6624 5356 S    0  0.7   0:00.09 xfce4-session      
 2035 myth      20   0  148m 5316 3756 S    0  0.6   0:00.08 xfce4-settings-    
 2017 myth      20   0 31080 2176 1816 S    0  0.2   0:00.04 xfconfd            
 2029 myth      20   0  282m  18m  10m S    0  2.0   0:01.17 xfdesktop          
  589 root      20   0     0    0    0 S    0  0.0   0:00.00 xfs_mru_cache      
  594 root      20   0     0    0    0 S    0  0.0   0:00.00 xfsconvertd/0      
  595 root      20   0     0    0    0 S    0  0.0   0:00.00 xfsconvertd/1      
  592 root      20   0     0    0    0 S    0  0.0   0:00.00 xfsdatad/0         
  593 root      20   0     0    0    0 S    0  0.0   0:00.00 xfsdatad/1         
 2023 myth      20   0  115m 4404 3248 S    0  0.5   0:00.00 xfsettingsd        
  590 root      20   0     0    0    0 S    0  0.0   0:00.00 xfslogd/0          
  591 root      20   0     0    0    0 S    0  0.0   0:00.00 xfslogd/1          
 2022 myth      20   0  144m  11m 8876 S    0  1.2   0:00.55 xfwm4              
 2005 myth      20   0 54332 2288 1796 S    0  0.2   0:00.20 xscreensaver       
Well it was fixed font before pasting into the post.

Phil

EDIT by thenktor: made it readable by "code" tags.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Newbie Questions - Tasks - QT - Alpha CDs - UTF

Post by thenktor »

Do a "ps ax" and then you'll notice all the kernel threads that are running. Their names are in square brackets and they handle stuff like e.g. file system tasks. If you remove them from your process list, there are not much processes left. So this is the normal situation nowadays.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply