12.2 - New Install - Very slow system

Hello.

something like http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/479044-freeze-lock-ups-new-12-2-a.html

After a new install of 12.2, removing nouveau and installing the last nvidia driver 304-60, and updating the system, the system was very slow and unusable. It take 30 sec to 3 mn to execute a click.
So I reinstall it a second time. Same problem.
After one day without modifying any things the system run more comfortably.

BTW I have found that /etc/mtab is 0 byte long.

I am surprise that the swap is never used but should be actived :
/dev/disk/by-id/ata-HDT722516DLA380_VDB71BTCDG0BGC-part8 swap swap pri=0 0 0

linux-srv:~ # free
             total       used       free     shared    buffers     cached
Mem:       8190120    1376784    6813336          0      65208     631756
-/+ buffers/cache:     679820    7510300

Swap:     10249432          0   10249432
linux-srv:~ # 

linux-srv:~ # fdisk -l sdd
/dev/sdd8        63392553    83891429    10249438+  82  Linux swap / Solaris

linux-srv:~ # uname -a
Linux linux-srv 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26 17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux

lspci show :
01:00.0 VGA compatible controller: NVIDIA Corporation NV41 [GeForce 6800 GS] (rev a2)

============ start debug info ============
libhd version 19.1 (x86-64) [7688]
using /var/lib/hardware
kernel version is 3.4
----- /proc/cmdline -----
  BOOT_IMAGE=/vmlinuz-3.4.11-2.16-desktop root=UUID=50e0073b-18f8-4ebe-82b6-82e649da3346 resume=/dev/disk/by-id/ata-HDT722516DLA380_VDB71BTCDG0BGC-part8 splash=silent quiet showopts
----- /proc/cmdline end -----

 DOS base memory: 640 kB
  Extended memory: 65472 kB (configured), 65472 kB (tested)
  Gfx adapter    : EGA, VGA, ... (with BIOS)
  FPU            : installed

Bi-processor AMD :

----- /proc/cpuinfo -----
  processor    : 0
  vendor_id    : AuthenticAMD
  cpu family    : 15
  model        : 107
  model name    : AMD Athlon(tm) 64 X2 Dual Core Processor 5000+
  stepping    : 1
  microcode    : 0x83
  cpu MHz        : 1000.000
  cache size    : 512 KB
  physical id    : 0
  siblings    : 2
  core id        : 0
  cpu cores    : 2
  apicid        : 0
  initial apicid    : 0
  fpu        : yes
  fpu_exception    : yes
  cpuid level    : 1
  wp        : yes
  flags        : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv
  bogomips    : 2008.99
  TLB size    : 1024 4K pages
  clflush size    : 64
  cache_alignment    : 64
  address sizes    : 40 bits physical, 48 bits virtual
  power management: ts fid vid ttp tm stc 100mhzsteps

35: PCI 100.0: 0300 VGA compatible controller (VGA)
  [Created at pci.319]
  Unique ID: VCu0.PKJKcrLnm32
  Parent ID: _Znp.4xLmuLwp_n2
  SysFS ID: /devices/pci0000:00/0000:00:02.0/0000:01:00.0
  SysFS BusID: 0000:01:00.0
  Hardware Class: graphics card
  Model: "nVidia GeForce 6800 GS (0x00c0)"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x00c0 "GeForce 6800 GS (0x00c0)"
  SubVendor: pci 0x10de "nVidia Corporation"
  SubDevice: pci 0x0339 
  Revision: 0xa2
  Driver: "nouveau"
  Driver Modules: "drm"
  Memory Range: 0xfa000000-0xfaffffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  Memory Range: 0xfb000000-0xfbffffff (rw,non-prefetchable)
  Memory Range: 0xfc000000-0xfc01ffff (ro,non-prefetchable,disabled)
  IRQ: 18 (1306 events)
  I/O Ports: 0x3c0-0x3df (rw)
  Module Alias: "pci:v000010DEd000000C0sv000010DEsd00000339bc03sc00i00"
  Driver Info #0:
    XFree86 v4 Server Module: nv
  Driver Info #1:
    XFree86 v4 Server Module: nvidia
    3D Support: yes
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #15 (PCI bridge)

So I would like to know what I am going tro do ?

So imagine that saying that a PC is a slow system is a very relative thing which asks when compared to what? From the time you turn on a PC, how log till you can log in? How long before the desktop loads? Which desktop are you using? First, the latest nVIDIA driver you can install the hard way is 304.64, up from 304.60. You can find out more here:

Installing the nVIDIA Video Driver the Hard Way - Blogs - openSUSE Forums

AND

LNVHW - Load NVIDIA (driver the) Hard Way from runlevel 3 - Version 1.46 - Blogs - openSUSE Forums

systemd, the new default startup system has some tools that can help see how well it is running which you can find in the comments posted here:

systemd and using the after.local script in openSUSE 12.1/12.2 - Blogs - openSUSE Forums

I have had good luck with several things I do to my fstab file that helps. Have a look at my file I have here:

/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D0FP65-part1               swap                 swap       defaults,**noatime**                                  0 0
/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D0FP65-part2               /Backup              ext4       acl,user_xattr,**noatime**                            1 2
/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D0FP65-part3               /home                ext4       defaults,**noatime**                                  1 2
/dev/disk/by-id/ata-ST1000DM003-9YN162_S1D0FP65-part4               /DataSafe            ext4       defaults,**noatime**                                  1 2
/dev/disk/by-id/ata-SSD2SC120GB1DA16T-T_PNY25120001032010052-part1  swap                 swap       defaults,**noatime**,discard,errors=remount-ro        0 0
/dev/disk/by-id/ata-SSD2SC120GB1DA16T-T_PNY25120001032010052-part2  /                    ext4       acl,user_xattr,**noatime**,discard,errors=remount-ro  0 1
/dev/disk/by-id/ata-ST31500541AS_9XW05PCT-part1                     /Multimedia          ntfs-3g    defaults,**noatime**                                  0 0
/dev/disk/by-id/ata-ST32000641AS_9WM0BWE8-part2                     /Windows             ntfs-3g    defaults,**noatime**                                  0 0
/dev/disk/by-id/ata-ST31500541AS_5XW14NDQ-part1                     /Software            ntfs-3g    defaults,**noatime **                                 0 0
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

I have done several things here. Of course, the Linux boot drive is a SSD, but more I have sorted the partitions in the same order as show in the YaST Partitioner AND I have added in the option called noatime, show in bold on each line.

These are just a few things I have done. I have found that not using SWAP memory is a good thing and on my system, it seldom comes up unless I am using more than one VM loaded into VirtualBox at the very same time. I have a blog about using your swap file:

Setting up the Proper Size SWAP File in openSUSE - Blogs - openSUSE Forums

Perhaps there is something here that might help.

Thank You,

I was speaking in absolute time, not relative time.
When you open dolphin, click on a first directory and then wait from 30 seconds to 3 minutes to see the contents, there must be a problem. Same thing after opening kate and loading some files to edit, suddenly ( but quickly ) you must wait 30 seconds to 3 minutes to be able to cut/paste some text.

Now returning to your questions :
From the time you turn on a PC, how long till you can log in? Same times as with 12.1
How long before the desktop loads? Same times as with 12.1
Which desktop are you using? KDE

Display Info
Vendor: nVidia Corporation
Model: GeForce 6800 GS (0x00c0)
2D driver: nvidia
3D driver: NVIDIA 304.60

First, the latest nVIDIA driver you can install the hard way is 304.64, up from 304.60.
304.60 was the latest directly from nvidia site the last week-end when I started to install 12.2. I will return to the nvidia site to look for a new one ( my nvidia card is not very recent. It is a 6800GS )

I used to use your script lnvhw. So there should not be problem when installing the nvidia driver and removing “nouveau”

Previously I have found my system very slow and found that the swap was not in used ( Found that the swap partition was not mounted in the partitioner tools ).
I am wondering why the swap in not in use :

linux:~ # free
             total       used       free     shared    buffers     cached
Mem:       8190120    1993712    6196408          0      90412     886800
-/+ buffers/cache:    1016500    7173620
Swap:     10249432          0   10249432
linux:~ # 

/etc/fstab show :

/dev/disk/by-id/ata-HDT722516DLA380_VDB71BTCDG0BGC-part8 swap swap  pri=0  0 0

Question : As soon as swap is define in /etc/fstab , one manage the swap with swapon and swapoff isn’t it

The partitioner show 6 tmpfs new partitions that I have not created myself ( /var/run; /var/lock; /media; /run; /dev/shm; /sy-s/fs/cgroup )
What that for ?
What to do with that ?

The file /etc/mtab is zero length long ?
Most of files under /proc are zero length ?

And most important :
**How the system is returning to a normal behavior without my assistance? **

I shall read the other things you told.

On 2012-11-09 13:26, jcdole wrote:
> And most important :
> *How the system is returning to a normal behavior without my
> assistance? *

Then it was busy doing something. Like building an index of files.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

The system was unusable during 2 full days.
Every mouse click during these 2 days took between 30sec to 3 mn.
-) No disk access
-) System monitor show nothing more than some peek at 50% CPU for firefox (like now I am writting this thread with a system now usable)

It never happens to me from the beginning I use linux on slackware 15 or 20 years ago.

I have read that it could be in relation with the graphic driver. But I have change it immediately after doing system update. ( from “nouveau” to nvidia ). So what the system was doing during these 2 days.

And I have made 2 new install with the same problem.
So it must be something wrong somewhere, or I did something wrong sometime.

On 2012-11-09 14:56, jcdole wrote:

> And I have made 2 new install with the same problem.
> So it must be something wrong somewhere, or I did something wrong
> sometime.

Did you look at the logs?


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” (Minas Tirith))

I think you need to give us the output from the following two commands in a terminal session:

su -
password:

fdisk -l

cat /etc/fstab

And then post the out you get from these two requests. The SWAP file is only used when you run out of main memory and you have not turned it off with the swapoff command as was talked about in my blog. Using SWAP space over memory would slow you down, not speed you up and so not using a SWAP file is not the source of your slow down problem. As for pointers for the different file types shown in your fstab, have a look here:

/proc: Explore Linux /proc File System (/proc directories, /proc files)

/sys: Sysfs - Wikipedia, the free encyclopedia

/sys/kernel/debug: Linux Kernel Configuration - Kernel debugging

/proc/bus/usb: USB Device Filesystem

/dev/pts: What is devpts?

So basically these are simple not real files but they allow you to talk to different Linux operations as if it was writing or reading from a file.

Thank You,

Run top and see what may be using the cpu

Thank you for the link.

Hello.

  • Have reinstalled for other reasons.
  • Have made update
  • Have not modify any things and for the moment still using “nouveau” driver.

The system run normally with no slowdown nor freezes.

Very strange : 2 bads install and one good.

I think it was a systemd issue. But I guess we’ll never know. A


systemd-analyze blame

would have told what the system was waiing for, if it was during boot.

As I said earlier in my thread, seen from the point of view of an operator :
-) No disk access
-) System monitor show nothing more than some peek at 50% CPU.
Every mouse clicks took between 30sec to 3 mn ( starting dolphin or Kate, moving from one window to another one).
From the time I turn on a PC, how long till I can log in? Same times as with 12.1
How long before the desktop loads? Same times as with 12.1

I keep in mind your suggestion.

Thank you for taking time for helping.

I have similar problem. Startup of desktop is very very slow. Sometimes the graphic driver goes crazy (windows are broken) but restart of gnome-shell already helps


alt+F2
r
enter

Sometimes it is much worse (keybord freezes, desktop is b0rked). I have to ssh to my computer and restart whole xdm


# rcxdm restart

And (magic inside) everything goes fine (for limited time). In log file I found these (second type of error):

[152850.945] (EE) NVIDIA(0): Failed to initialize the 3D engine
[152850.945] (EE) NVIDIA(0): *** Aborting ***
[152850.945] (EE) NVIDIA(0): Failed to allocate 3D objects
[152850.945] (EE) NVIDIA(0): *** Aborting ***
[152850.946]
Fatal server error:
[152850.946] AddScreen/ScreenInit failed for driver 0

googling around does not help (I don’t want to uninstall my nvidia drivers).

First type of error shoud be caused by this:

26184.824] (EE) Failed to load /usr/lib64/xorg/modules/libglamoregl.so: /usr/lib64/xorg/modules/libglamoregl.so: undefined symbol: _glapi_tls_Context
26184.824] (EE) Failed to load module “glamoregl” (loader failed, 7)

I suggest some problems in nvidia drivers. My worakround is three times per day restart gnome-shell and once a day whole xdm (…terrible).