Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] Really slow extracting of 'larger' packages with dpkg  (Read 2710 times)

Offline michaaa62

  • User
  • Posts: 299
[EN] Really slow extracting of 'larger' packages with dpkg
« on: 2014/01/27, 09:30:43 »
Hi siducers,
with the newest siduction install of siduction 13.2.0 December - kde - (201312310241) i am experiencing some very slow extraction of large packages like kernel-image or kernel-header, as well as packages for localisation.
The system is fully dist-upgraded and works just fine, but the all the apt-get installs seem to stall for no obvious reason due to dpkg.
There is no evidence in top memory- or cpu-wise.(I used top instead of htop to copy the line, the basic output is the same)[size=78%] [/size]
Code: [Select]
PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                       
26090 root      20   0  109164  49456  38640 S   3,3  1,3   0:33.32 apt-get
26152 root      20   0   96924  54324   1272 D   0,0  1,4   0:03.15 dpkg 
         [size=78%]dpkg does use almost none resources, while apt-get is using cpu% between 2.0 and 7.0 changing.[/size]


Here is a typical output with time command attached, dpkg killed from another shell
Code: [Select]
root@majestix:/home/micha# time apt-get install -f
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.       
Statusinformationen werden eingelesen.... Fertig
Die folgenden zusätzlichen Pakete werden installiert:
  linux-headers-3.13-0.towo.2-siduction-amd64
Die folgenden Pakete werden aktualisiert (Upgrade):
  linux-headers-3.13-0.towo.2-siduction-amd64
1 aktualisiert, 0 neu installiert, 0 zu entfernen und 8 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Es müssen noch 0 B von 5.834 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 29,9 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] J
Lese Changelogs... Fertig
(Lese Datenbank ... 219781 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../linux-headers-3.13-0.towo.2-siduction-amd64_3.13-2_amd64.deb ...
Entpacken von linux-headers-3.13-0.towo.2-siduction-amd64 (3.13-2) über (3.13-2) ...


E: Sub-process /usr/bin/dpkg exited unexpectedly


real    44m9.498s
user    0m17.076s
sys     1m14.448s
root@majestix:/home/micha# time dpkg --configure -a


real    0m0.497s
user    0m0.120s
sys     0m0.012s




Since nobody else complained (or i did not find it) i am thinking it might be my hardware... It might not be damaged, but might lack modules or firmware, because even heavy stuff like Windows7 in virtualbox or internet browsing with a couple of tabs even in many different browsers at the same time works just fine. Also extracting files or folders from different formats in Ark runs just fine.


The system runs on a SSD, but is encrypted using LUKS. I also tested this behaviour before with other flavours of this release on two earlier installs on encrypted systems as well on unencrypted systems. Same misbehaviour of apt-get on all of them.
Code: [Select]
$ inxi -v7
System:    Host: majestix Kernel: 3.13-0.towo-siduction-amd64 x86_64 (64 bit, gcc: 4.8.2)
           Desktop: KDE 4.12.1 (Qt 4.8.6) info: plasma-desktop dm: lightdm Distro: siduction 13.2.0 December - kde - (201312310241)                                               
Machine:   System: LENOVO product: 29123AG version: ThinkPad T410s Chassis: type: 10                                                                                               
           Mobo: LENOVO model: 29123AG Bios: LENOVO version: 6UET70WW (1.50 ) date: 10/11/2012                                                                                     
CPU:       Dual core Intel Core i5 CPU M 520 (-HT-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9575.56                                         
           Clock Speeds: 1: 1199.00 MHz 2: 1199.00 MHz 3: 1199.00 MHz 4: 1199.00 MHz                                                                                               
Graphics:  Card: Intel Core Processor Integrated Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:0046                                                                           
           X.Org: 1.14.5 drivers: intel (unloaded: fbdev,vesa) Resolution: 1440x900@60.1hz                                                                                         
           GLX Renderer: Mesa DRI Intel Ironlake Mobile GLX Version: 2.1 Mesa 9.2.2 Direct Rendering: Yes                                                                         
Audio:     Card: Intel 5 Series/3400 Series High Definition Audio driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:3b57                                                         
           Sound: Advanced Linux Sound Architecture ver: k3.13-0.towo-siduction-amd64                                                                                             
Network:   Card-1: Intel Centrino Ultimate-N 6300 driver: iwlwifi ver: in-tree: bus-ID: 03:00.0 chip-ID: 8086:4238                                                                 
           IF: wlan0 state: down mac: 00:24:d7:0c:cb:d4                                                                                                                           
           Card-2: Intel 82577LM Gigabit Network Connection                                                                                                                       
           driver: e1000e ver: 2.3.2-k port: 1820 bus-ID: 00:19.0 chip-ID: 8086:10ea
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:26:2d:f7:da:e4
           WAN IP: 91.65.159.153 IF: eth0 ip: 192.168.49.201 ip-v6: fe80::226:2dff:fef7:dae4
           IF: wlan0 ip: N/A ip-v6: N/A
Drives:    HDD Total Size: 528.1GB (58.1% used)
           1: id: /dev/sda model: TOSHIBA_THNS128G size: 128.0GB serial: 99RS1039T02Z
           2: id: /dev/sdb model: SAMSUNG_HM400LI size: 400.1GB serial: S1PSJD0Q900107
           Optical: No optical drives detected.
Partition: ID: / size: 38G used: 9.4G (27%) fs: ext4 dev: /dev/dm-2
           label: root uuid: b070903d-8fe1-499f-9368-f2ac2385fc39
           ID: /media/disk1part1 size: 1.1G used: 712M (64%) fs: fuseblk dev: /dev/sda1
           label: SYSTEM_DRV uuid: C4F03A46F03A3ECC
           ID: /media/disk1part2 size: 76G used: 48G (64%) fs: fuseblk dev: /dev/sda2
           label: Windows7_OS uuid: 72B83E02B83DC4FF
           ID: /boot size: 118M used: 90M (81%) fs: ext3 dev: /dev/sda3
           label: boot uuid: 9b187305-76a0-4c1c-b1e1-256bf7922355
           ID: /media/daten size: 367G used: 228G (66%) fs: ext4 dev: /dev/dm-3
           label: daten uuid: d5635145-4b22-4cd4-8c85-317b69c61746
           ID: swap-1 size: 4.29GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
           label: swap uuid: 18773f41-7790-41ab-9c93-c6b740cbb868
RAID:      System: supported: N/A
           No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
           Unused Devices: none
Unmounted: ID: /dev/sda4 size: 45.14G label: N/A uuid: 6dfeb8c3-7313-4193-863a-b5ad0e0de050
           ID: /dev/sdb1 size: 400.09G label: N/A uuid: 9045b22b-7d11-405f-ab2a-8fdc8b75a48c
           ID: /dev/dm-0 size: 45.14G label: N/A uuid: N/A
Sensors:   System Temperatures: cpu: 52.0C mobo: 0.0C
           Fan Speeds (in rpm): cpu: 4010
Info:      Processes: 210 Uptime: 10:19 Memory: 1353.7/3762.5MB Runlevel: 5 Gcc sys: 4.8.2
           Client: Shell (bash 4.2.45 running in yakuake) inxi: 1.9.17


Edit: This font size tags are a little unnerving...

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: Really slow extracting of 'larger' packages with dpkg
« Reply #1 on: 2014/01/27, 23:55:30 »
encryption needs power ....

maybe a bug in debian may help
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)