Search Results for 'swap'

Forum Forums Search Search Results for 'swap'

Viewing 15 results - 1,651 through 1,665 (of 1,706 total)
  • Author
    Search Results
  • #4114
    Forum Admin
    rokytnji

      Specs:

      harry@biker:~
      $ inxi -zv7
      System:    Host: biker Kernel: 4.10.5-antix.3-amd64-smp x86_64 bits: 64 gcc: 6.3.0 Desktop: IceWM 1.4.2 dm: slim
                 Distro: antiX-17_x64-full Heather Heyer 24 October 2017
      Machine:   Device: desktop System: GATEWAY product: W3507 v: 500 serial: N/A
                 Mobo: Intel model: D102GGC2 v: AAD70214-201 serial: N/A
                 BIOS: Intel v: GC11020M.15A.2010.2006.0817.0956 date: 08/17/2006
      CPU:       Single core Intel Celeron D (-UP-) arch: Netburst Prescott rev.4 cache: 512 KB
                 flags: (lm nx sse sse2 sse3) bmips: 6402 speed: 3200 MHz (max)
      Memory:    Using dmidecode: root required for dmidecode
      Graphics:  Card: Advanced Micro Devices [AMD/ATI] RC410 [Radeon Xpress 200/1100]
                 bus-ID: 01:05.0 chip-ID: 1002:5a61
                 Display Server: X.Org 1.19.2 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
                 Resolution: 1024x768@85.00hz
                 OpenGL: renderer: Gallium 0.4 on ATI RC410 version: 2.1 Mesa 13.0.6 Direct Render: Yes
      Audio:     Card Advanced Micro Devices [AMD/ATI] IXP SB4x0 High Definition Audio Controller
                 driver: snd_hda_intel bus-ID: 00:14.2 chip-ID: 1002:437b
                 Sound: Advanced Linux Sound Architecture v: k4.10.5-antix.3-amd64-smp
      Network:   Card-1: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
                 driver: 8139too v: 0.9.28 port: 1000 bus-ID: 02:02.0 chip-ID: 10ec:8139
                 IF: eth0 state: down mac: <filter>
                 Card-2: Realtek RTL8191SU 802.11n WLAN Adapter driver: r8712u usb-ID: 001-004 chip-ID: 0bda:8172
                 IF: wlx000f13651532 state: N/A mac: N/A
                 WAN IP: <filter>
                 IF: wlx000f13651532 ip-v4: <filter> ip-v6-link: <filter>
                 IF: eth0 ip-v4: N/A ip-v6-link: N/A
      Drives:    HDD Total Size: 120.0GB (4.6% used)
                 ID-1: /dev/sda model: ST3120213A size: 120.0GB serial: <filter>
                 Optical-1: /dev/sr0 model: HL-DT-ST DVD+-RW GSA-H21N rev: 1.00 dev-links: cdrom
                 Features: speed: 48x multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r state: running
      Partition: ID-1: / size: 9.1G used: 3.2G (37%) fs: ext4 dev: /dev/sda1
                 label: rootantiX uuid: f24d6c06-3863-431a-8847-3c885138da54
                 ID-2: /home size: 31G used: 100M (1%) fs: ext4 dev: /dev/sda3
                 label: homeantiX uuid: f5fc9e9e-2b64-4838-adec-616da3cecf2b
                 ID-3: swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
                 label: N/A uuid: a55f5477-b77d-4e07-b34a-d0260ad85959
      RAID:      No RAID data: /proc/mdstat missing-is md_mod kernel module loaded?
      Unmounted: ID-1: /dev/sda4 size: 74.92G label: /data1 uuid: 284c1657-3c0b-484c-ad41-a90908a993fd
      Sensors:   None detected - is lm-sensors installed and configured?
      Info:      Processes: 155 Uptime: 31 min Memory: 577.3/1874.7MB
                 Init: SysVinit v: 2.88 runlevel: 5 default: 5 Gcc sys: 6.3.0
                 Client: Shell (bash 4.4.121 running in lxterminal) inxi: 2.3.53 
      harry@biker:~
      $ sudo parted -l
      [sudo] password for harry: 
      Model: ATA ST3120213A (scsi)
      Disk /dev/sda: 120GB
      Sector size (logical/physical): 512B/512B
      Partition Table: msdos
      Disk Flags: 
      
      Number  Start   End     Size    Type     File system     Flags
       1      1049kB  9902MB  9901MB  primary  ext4            boot
       3      9902MB  42.9GB  33.0GB  primary  ext4
       4      42.9GB  118GB   74.9GB  primary  ext4
       2      118GB   120GB   2174MB  primary  linux-swap(v1)
      
      harry@biker:~
      $ sudo blkid
      /dev/sda1: LABEL="rootantiX" UUID="f24d6c06-3863-431a-8847-3c885138da54" TYPE="ext4" PARTUUID="000bda1f-01"
      /dev/sda2: UUID="a55f5477-b77d-4e07-b34a-d0260ad85959" TYPE="swap" PARTUUID="000bda1f-02"
      /dev/sda3: LABEL="homeantiX" UUID="f5fc9e9e-2b64-4838-adec-616da3cecf2b" TYPE="ext4" PARTUUID="000bda1f-03"
      /dev/sda4: LABEL="/data1" UUID="284c1657-3c0b-484c-ad41-a90908a993fd" TYPE="ext4" PARTUUID="000bda1f-04"
      

      Wireless name being weird again. I expect it to settle down after shutdown and reboot tomorrow.

      eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
      <snip>
      lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
      <snip>
      wlx000f13651532: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
      

      Install is done. Dist-Upgrade below for those that care. This is just the beginning. I will be testing media reader later on. That is all for today. At least wireless works excellent. 100% signal strength at 150MB per second speed. I won’t be touching conky till things settle down. I made that mistake on my netbook install and had to change things back around to wlan0 after wireless name settled down. So far so good.

      Edit: side note. This computer was pulled out of a dumpster. It was infested with malware and viruses in Windows and was a throw away. It is now my shop playtoy and media center.

      • This topic was modified 5 years, 4 months ago by rokytnji.
      Attachments:

      Sometimes I drive a crooked road to get my mind straight.
      Not all who Wander are Lost.
      I'm not outa place. I'm from outer space.

      Linux Registered User # 475019
      How to Search for AntiX solutions to your problems

      #4086
      Forum Admin
      SamK

        Have we finished with it? Is this a nice swapspace?

        That report shows everything is working as expected. So yes, we have finished.

        You have 2 swapspaces, on both the P4 and Celeron. On each machine, 1 is disk based, 1 is RAM based. Both disk swapspace (/dev/sda2) and the RAM swapspace (/dev/zram0) are made available automatically as part of the boot process, so you do not need to do anything manually.

        Now you can go and explore what degree of benefit you get, which is largely dependent on the capability of your kit, the software you run and the tasks you use the software for. It is different for every user because everyone has different hardware, working patterns, and habits.

        A couple of links that might be helpful to you:
        Tips for Improving Performance on Ancient Kit
        ZRAM Misconceptions and Doubts

        In the longer term future you might want to think about whether the disk swapspace partition suits your needs e.g. does it use too much of your overall disk space? It is possible to use a swap file instead of a swap partition but there are lots of things to think about before going along that route. So these type of ideas are for another time and place.

        #4080
        Member
        andfree

          After rebooting the P4 system, without starting the zram swapspace manually:

          xxx@antix1:~
          $ sudo swapon --summary
          [sudo] password for xxx: 
          Filename				Type		Size	Used	Priority
          /dev/sda2                              	partition	2120576	0	-1
          /dev/zram0                             	partition	237872	0	100
          xxx@antix1:~
          $ 

          Have we finished with it? Is this a nice swapspace?

          #4077
          Forum Admin
          rokytnji

            Since media reader posts are being posted in the forum. I figured I would show my sd card reader slot on this net book working.

            harry@biker:~
            $ sudo parted -l
            [sudo] password for harry: 
            Model: ATA KingSpec KSD-ZF1 (scsi)
            Disk /dev/sda: 63.3GB
            Sector size (logical/physical): 512B/512B
            Partition Table: msdos
            Disk Flags: 
            
            Number  Start   End     Size    Type     File system     Flags
             1      1049kB  10.5GB  10.5GB  primary  ext4
             3      10.5GB  60.8GB  50.3GB  primary  ext4
             2      60.8GB  63.3GB  2517MB  primary  linux-swap(v1)
            
            Model: Generic- Multi-Card (scsi)
            Disk /dev/sdb: 3957MB
            Sector size (logical/physical): 512B/512B
            Partition Table: msdos
            Disk Flags: 
            
            Number  Start   End     Size    Type     File system  Flags
             1      1049kB  3957MB  3956MB  primary  fat32
            
            harry@biker:~
            $ sudo dmesg | tail
            [   36.138573] wlan0: authenticate with e8:6f:f2:07:61:02
            [   36.190678] wlan0: send auth to e8:6f:f2:07:61:02 (try 1/3)
            [   36.213629] wlan0: authenticated
            [   36.214202] wlan0: associate with e8:6f:f2:07:61:02 (try 1/3)
            [   36.217460] wlan0: RX AssocResp from e8:6f:f2:07:61:02 (capab=0x411 status=0 aid=3)
            [   36.224916] wlan0: associated
            [   36.224959] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
            [  239.336170] sd 4:0:0:0: [sdb] 7729152 512-byte logical blocks: (3.96 GB/3.69 GiB)
            [  239.344156]  sdb: sdb1
            [  240.261278] FAT-fs (sdb1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
            harry@biker:~
            $ 
            

            The volume not unmounted properly message is from me re-seating the sd flash drive out of my camera into the net book slot. 1st time. It did not registrar as plugged in. According to unplug removable device icon in the icewm taskbar. Hardware snafu of some sort probably. I am gonna ignore the fsck warning.

            Anyways. It automounted fine the 2nd time.

            [/url]

            Sometimes I drive a crooked road to get my mind straight.
            Not all who Wander are Lost.
            I'm not outa place. I'm from outer space.

            Linux Registered User # 475019
            How to Search for AntiX solutions to your problems

            #4061
            Forum Admin
            SamK

              So with my version of the zram script installed you have working zram swapspaces on both the P4 and Celeron when you start the swapspaces manually.

              Now you just need to confirm the zram swapspace is automatically available after a reboot i.e. without starting it manually.

              Explanation:
              The default action of zram is to set up a swapspace per CPU e.g. 4 swapspaces for a quad core, 1 swapspace for a single core, etc.

              The version of the zram script shipped in the ISO does not hounour the zram default action. It sets up 1 fewer swapspaces than the number of CPUs i.e. 3 for a quad core. That is a problem when the system has only a single CPU.

              My version of the zram script honours the zram default action. It sets up 1 swapspace per CPU for single and multiple CPU systems e.g. 4 swapspaces for a quad core, 1 swapspace for a single core, etc.

              #4047
              Member
              andfree

                And now, about the celeron laptop:

                yyy@antix1:~
                $ lsmod | grep zram
                zram                   17197  0 
                lz4_compress            2606  1 zram
                yyy@antix1:~
                $ swapon --show
                NAME      TYPE      SIZE USED PRIO
                /dev/sda2 partition   2G   0B   -1
                yyy@antix1:~
                $ sudo swapoff --all
                [sudo] password for yyy: 
                yyy@antix1:~
                $ sudo /etc/init.d/zram stop
                yyy@antix1:~
                $ lsmod | grep zram
                yyy@antix1:~
                $ swapon --show
                yyy@antix1:~
                $ sudo rm /etc/init.d/zram
                yyy@antix1:~
                $ sudo cp zram /etc/init.d/zram
                yyy@antix1:~
                $ sudo /etc/init.d/zram start
                Loading zram kernel module succeeded
                Setting up swapspace version 1, size = 28448 KiB
                LABEL=SWAP_ZRAM0, UUID=6ea6a8fc-1106-4234-a41a-08e9ff63fbfd
                yyy@antix1:~
                $ lsmod | grep zram
                zram                   17197  1 
                lz4_compress            2606  1 zram
                yyy@antix1:~
                $ swapon --show
                NAME       TYPE       SIZE USED PRIO
                /dev/zram0 partition 27.8M   0B  100
                yyy@antix1:~
                $ 
                #4035
                Member
                andfree

                  Now, about the P4 laptop:

                  A zram0 file already exists in the /dev directory, too.

                  xxx@antix1:~
                  $ nproc --all
                  1
                  xxx@antix1:~
                  $ lsmod | grep zram
                  zram                   12902  0 
                  lz4_compress            2442  1 zram
                  xxx@antix1:~
                  $ swapon --show
                  NAME      TYPE      SIZE USED PRIO
                  /dev/sda2 partition   2G   0B   -1
                  xxx@antix1:~
                  $ sudo swapoff --all 
                  xxx@antix1:~
                  $ sudo /etc/init.d/zram stop
                  xxx@antix1:~
                  $ lsmod | grep zram
                  xxx@antix1:~
                  $ swapon --show
                  xxx@antix1:~
                  $ sudo rm /etc/init.d/zram
                  xxx@antix1:~ 
                  $ sudo cp zram /etc/init.d/zram
                  xxx@antix1:~
                  $ sudo /etc/init.d/zram start
                  Loading zram kernel module succeeded
                  Setting up swapspace version 1, size = 148568 KiB
                  LABEL=SWAP_ZRAM0, UUID=9a557970-a8a9-4b47-bec7-9a504a5228fe
                  xxx@antix1:~
                  $ lsmod | grep zram
                  zram                   12902  1 
                  lz4_compress            2442  1 zram
                  xxx@antix1:~
                  $ swapon --show
                  NAME       TYPE        SIZE USED PRIO
                  /dev/zram0 partition 145.1M   0B  100
                  xxx@antix1:~
                  $ 

                  About the celeron laptop, later.

                  #4012
                  Forum Admin
                  SamK

                    It might be worth trying the attached zram file to replace the one that ships in antiX. I wrote it some years back to use instead of the one in the antiX ISO, which sets up an incorrect number of zram swapspaces. It is used on the Celeron system here (and others).

                    Before testing

                    Verify the status of zram
                    lsmod | grep zram
                    
                    Identify running swapspaces
                    swapon --show
                    
                    Turn off all swapspaces
                    sudo swapoff --all
                    
                    Stop zram
                    sudo /etc/init.d/zram stop
                    
                    Verify the status of zram
                    lsmod | grep zram
                    expected to return nothing
                    
                    Identify running swapspaces
                    swapon --show
                    expected to return nothing

                    To test
                    (Re)move /etc/init.d/zram to get it out of the way

                    Extract the replacement file from the zip file

                    Copy the extracted file to /etc/init.d/zram
                    Ownership: root:root
                    Permissions: rwxr-xr-x

                    Start zram
                    sudo /etc/init.d/zram start
                    expected to return "Loading zram kernel module succeeded" + list of zram swapspaces created.
                    
                    Verify the status of zram
                    lsmod | grep zram
                    expected to return zram module details
                    
                    Identify running swapspaces
                    swapon --show
                    expected to return list of zram devices and details
                    Attachments:
                    #3975
                    Member
                    andfree

                      After starting manually, and receiving the message “zram devices probed successfully“, is the file /dev/zram0 present?

                      I’ll see tomorrow, when I’ll be at the toshiba laptop. Now, about the compaq laptop:

                      $ inxi -Fxz
                      System:    Host: antix1 Kernel: 4.4.10-antix.1-486-smp i686
                                 bits: 32 gcc: 4.9.3
                                 Desktop: IceWM 1.3.8
                                 Distro: antiX-16_386-full Berta Cáceres 26 June 2016
                      Machine:   Device: laptop System: Hewlett-Packard product: Presario 2100 v: KE.M1.54 serial: N/A
                                 Mobo: Hewlett-Packard model: 002A v: NS570 Version PQ1A74 serial: N/A
                                 BIOS: Phoenix v: KE.M1.54 date: 12/17/20022
                      CPU:       Single core Mobile Intel Celeron (-UP-) 
                                 arch: Netburst Willamette rev.7 cache: 256 KB
                                 flags: (pae sse sse2) bmips: 3189 speed: 1594 MHz (max)
                      Graphics:  Card: Advanced Micro Devices [AMD/ATI] RS200M [Radeon IGP 330M/340M/345M/350M]
                                 bus-ID: 01:05.0
                                 Display Server: X.Org 1.16.4
                                 drivers: ati,radeon (unloaded: modesetting,fbdev,vesa)
                                 Resolution: 1024x768@60.00hz
                                 OpenGL: renderer: Gallium 0.4 on llvmpipe (LLVM 3.5, 128 bits)
                                 version: 3.0 Mesa 10.3.2 Direct Render: Yes
                      Audio:     Card ULi M5451 PCI AC-Link Controller Audio Device
                                 driver: snd_ali5451 port: 1000 bus-ID: 00:06.0
                                 Sound: ALSA v: k4.4.10-antix.1-486-smp
                      Network:   Card-1: National DP83815 (MacPhyter) Ethernet Controller
                                 driver: natsemi port: 2400 bus-ID: 00:12.0
                                 IF: eth0 state: down mac: <filter>
                                 Card-2: Atheros TP-Link TL-WN821N v2 802.11n [Atheros AR9170]
                                 driver: carl9170 usb-ID: 001-002
                                 IF: wlan0 state: N/A mac: N/A
                      Drives:    HDD Total Size: 60.0GB (41.6% used)
                                 ID-1: /dev/sda model: TOSHIBA_MK6025GA size: 60.0GB
                      Partition: ID-1: / size: 53G used: 22G (43%) fs: ext4 dev: /dev/sda1
                                 ID-2: swap-1 size: 2.18GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
                      Sensors:   System Temperatures: cpu: 45.0C mobo: N/A
                                 Fan Speeds (in rpm): cpu: N/A
                      Info:      Processes: 131 Uptime: 6 min Memory: 139.1/488.4MB
                                 Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
                                 Client: Shell (bash 4.3.301) inxi: 2.3.43
                      $ sudo /etc/init.d/zram start 
                      zram devices probed successfully
                      $ ls -1lh --recursive /etc/*/*zram
                      -rwxr-xr-x 1 root root 2.8K Dec 18 08:44 /etc/init.d/zram
                      lrwxrwxrwx 1 root root   14 Dec 18 08:44 /etc/rc0.d/K01zram -> ../init.d/zram
                      lrwxrwxrwx 1 root root   14 Dec 18 08:44 /etc/rc1.d/K01zram -> ../init.d/zram
                      lrwxrwxrwx 1 root root   14 Dec 18 08:44 /etc/rc2.d/S01zram -> ../init.d/zram
                      lrwxrwxrwx 1 root root   14 Dec 18 08:44 /etc/rc3.d/S01zram -> ../init.d/zram
                      lrwxrwxrwx 1 root root   14 Dec 18 08:44 /etc/rc4.d/S01zram -> ../init.d/zram
                      lrwxrwxrwx 1 root root   14 Dec 18 08:44 /etc/rc5.d/S01zram -> ../init.d/zram
                      lrwxrwxrwx 1 root root   14 Dec 18 08:44 /etc/rc6.d/K01zram -> ../init.d/zram
                      $ zgrep ZRAM /boot/config-4.4.10-antix.1-486-smp
                      CONFIG_ZRAM=m
                      CONFIG_ZRAM_LZ4_COMPRESS=y
                      $ lsmod | grep zram
                      zram                   17197  0 
                      lz4_compress            2606  1 zram
                      $ sudo swapon --summary
                      Filename				Type		Size	Used	Priority
                      /dev/sda2                              	partition	2128608	0	-1

                      A zram0 file exists in the /dev directory. What about these results?

                      • This reply was modified 5 years, 4 months ago by andfree.
                      #3961
                      Forum Admin
                      SamK

                        I cannot reproduce your results. The outcome of copying and pasting the commands from your post work OK here using the shipped zram file, as shown below.

                        Booted live on a system that has no swap space.

                        sudo swapon --summary
                        nothing returned

                        Copy and setup zram in init.d.

                        sudo cp /usr/local/bin/zram  /etc/init.d/zram
                        nothing returned
                        
                        sudo update-rc.d zram defaults
                        nothing returned

                        zram started via manual command to simulate reboot.

                        sudo /etc/init.d/zram start
                        zram devices probed successfully
                        Setting up swapspace version 1, size = 204 MiB (213909504 bytes)
                        no label, UUID=blah
                        Setting up swapspace version 1, size = 204 MiB (213909504 bytes)
                        no label, UUID=blahblah
                        Setting up swapspace version 1, size = 204 MiB (213909504 bytes)
                        no label, UUID=blahblahblah.

                        Verify zram swapspaces are available.

                        sudo swapon --summary
                        Filename				Type		Size	Used	Priority
                        /dev/zram1                             	partition	208896	0	100
                        /dev/zram2                             	partition	208896	0	100
                        /dev/zram3                             	partition	208896	0	100

                        After a shutdown and cold boot.
                        Reported during boot-up text phase.

                        ...
                        zram devices probed successfully
                        Setting up swapspace version 1, size = 204 MiB (213909504 bytes)
                        no label, UUID=blah
                        Setting up swapspace version 1, size = 204 MiB (213909504 bytes)
                        no label, UUID=blahblah
                        Setting up swapspace version 1, size = 204 MiB (213909504 bytes)
                        no label, UUID=blahblahblah.
                        ...

                        After completion of boot-up.

                        sudo swapon --summary
                        Filename				Type		Size	Used	Priority
                        /dev/zram1                             	partition	208896	0	100
                        /dev/zram2                             	partition	208896	0	100
                        /dev/zram3                             	partition	208896	0	100

                        So my results show zram swapspaces can be activated manually, and automatically during boot-up.

                        Things to look at…
                        Try to start zram manually

                        If starting manually works, check the update-rc.d command created the appropriate links.

                        ls -1lh --recursive /etc/*/*zram 
                        -rwxr-xr-x 1 root root 2.8K Dec 18 13:45 /etc/init.d/zram
                        lrwxrwxrwx 1 root root   14 Dec 18 13:46 /etc/rc0.d/K01zram -> ../init.d/zram
                        lrwxrwxrwx 1 root root   14 Dec 18 13:46 /etc/rc1.d/K01zram -> ../init.d/zram
                        lrwxrwxrwx 1 root root   14 Dec 18 13:46 /etc/rc2.d/S02zram -> ../init.d/zram
                        lrwxrwxrwx 1 root root   14 Dec 18 13:46 /etc/rc3.d/S02zram -> ../init.d/zram
                        lrwxrwxrwx 1 root root   14 Dec 18 13:46 /etc/rc4.d/S02zram -> ../init.d/zram
                        lrwxrwxrwx 1 root root   14 Dec 18 13:46 /etc/rc5.d/S02zram -> ../init.d/zram
                        lrwxrwxrwx 1 root root   14 Dec 18 13:46 /etc/rc6.d/K01zram -> ../init.d/zram

                        If starting manually fails, check that zram is configured in your version of the kernel.This is what is returned for the kernel used here.

                        zgrep ZRAM /boot/config-4.10.5-antix.1-486-smp 
                        CONFIG_ZRAM=m
                        #3956
                        Member
                        andfree

                          I’m trying to follow this tip:

                        • Use one or more swap areas. Combining a disk based swap with a zram one can produce a worthwhile increase in performance. Additionally, adjusting the way in swap space is used can make a difference to the system responsiveness. This post might be a starting point: ZRAM Swap Activation
                        • I ran these commands:

                          sudo cp /usr/local/bin/zram  /etc/init.d/zram
                          sudo update-rc.d zram defaults

                          I rebooted and:

                          $ lsmod | grep zram
                          zram                   12902  0 
                          lz4_compress            2442  1 zram
                          $ sudo swapon --summary
                          Filename				Type		Size	Used	Priority
                          /dev/sda2                              	partition	2120576	0	-1

                          And now, what?

                          $ inxi -Fxz
                          System:    Host: antix1 Kernel: 4.0.5-antix.3-486-smp i686 bits: 32 gcc: 4.9.3
                                     Desktop: IceWM 1.3.8
                                     Distro: antiX-15.1_386-full Killah P 18 February 2016
                          Machine:   Device: laptop System: TOSHIBA product: Satellite 2450 v: PS245E-03TE0-GK serial: N/A
                                     Mobo: TOSHIBA model: Portable PC v: Version A0 serial: N/A
                                     BIOS: TOSHIBA v: Version 1.30 date: 03/20/2003
                          CPU:       Single core Intel Pentium 4 (-UP-) 
                                     arch: Netburst Willamette rev.7 cache: 512 KB
                                     flags: (pae sse sse2) bmips: 5586 speed: 2793 MHz (max)
                          Graphics:  Card: NVIDIA NV17M [GeForce4 420 Go] bus-ID: 01:00.0
                                     Display Server: X.Org 1.16.4
                                     drivers: nouveau (unloaded: modesetting,fbdev,vesa)
                                     Resolution: 1024x768@60.00hz
                                     OpenGL: renderer: Mesa DRI nv17 x86/MMX/SSE2
                                     version: 1.2 Mesa 10.3.2 Direct Render: Yes
                          Audio:     Card Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller
                                     driver: snd_intel8x0 ports: be00 bdc0 bus-ID: 00:1f.5
                                     Sound: Advanced Linux Sound Architecture v: k4.0.5-antix.3-486-smp
                          Network:   Card: Realtek RTL-8100/8101L/8139 PCI Fast Ethernet Adapter
                                     driver: 8139too v: 0.9.28 port: ce00 bus-ID: 02:09.0
                                     IF: eth0 state: unknown speed: 100 Mbps duplex: full mac: <filter>
                          Drives:    HDD Total Size: 100.0GB (81.7% used)
                                     ID-1: /dev/sda model: TOSHIBA_MK1032GA size: 100.0GB
                          Partition: ID-1: / size: 90G used: 75G (88%) fs: ext4 dev: /dev/sda1
                                     ID-2: swap-1 size: 2.17GB used: 0.00GB (0%) fs: swap dev: /dev/sda2
                          Sensors:   System Temperatures: cpu: 59.0C mobo: N/A
                                     Fan Speeds (in rpm): cpu: N/A
                          Info:      Processes: 106 Uptime: 29 min Memory: 309.6/1005.2MB
                                     Init: SysVinit runlevel: 5 Gcc sys: 4.9.2
                                     Client: Shell (bash 4.3.301) inxi: 2.3.43 
                          #3898

                          In reply to: ZRAM Swap Activation

                          Anonymous

                            v— paraphrased instructions found in 2012 oldforums topic

                            To have zRam start at bootup:

                            cp /usr/local/bin/zram /etc/init.d/zram
                            ensure owner and group are root:root
                            ensure permissions are rwxr-xr-x
                            run the command update-rc.d zram defaults
                            reboot the system

                            To check that it has loaded, look at the size of the swap reported by conky (if you use conky). Alternatively, a command such as blkid -o list should list a /dev/zram0 mounted as swap

                            Anonymous

                              Yes, the vm.swappiness default value was discussed/voted/lobbied during betatesting.
                              I’ll agree that it merits its own dedicated forum topic
                              (and cherrypick the highlights + referenceces/links toward creating a “Documentation” or “Tips-n-Tricks” topic)

                              Përhaps does the WM rely on an external executable to grab that “MEMStatus”

                              AFAICT, it does not rely on any external executable
                              but your comment led me to look here: whereall is MEMStatus referenced within the icewm code?
                              and a quick read suggests (to me) that a malformed declaration within an icewm .theme file might cause icewm to ignore one or more widgets (including the memstatblahblah widget).

                              […] might be accidentally missing for aX-16

                              maybe not (probably not) missing…. but different (customized, and perhaps a typo slipped in)
                              ~~ perhaps a typo exists within one of (or several, or all of) the icewm .theme files shipped in antiX16.

                              If you’re inclined to test that possibility, you can inspect the content of icewm “.theme” files, as shipped in debian jessie package
                              or visit https://packages.debian.org/jessie/icewm and download the whole sourcecode tarball, extract, and…
                              (“diff” compare against the content of your existing antiX16 icewm .theme files)

                              ^— I’m just “thinking aloud, following a train of thought” here. I’m actually not encouraging you to “do all that”.

                              Hey, (ding! lightbulb) — maybe only one (or at least not all) of the antiX16 .theme files is affected.
                              The “solution” (and reasonable troubleshooting step) might be as simple as selecting a different theme.

                              Member
                              Ninho

                                @Skidoo :

                                collecting notes toward creating a “frequently observed pitfalls” Hints-n-Tips topic

                                Regarding pitfalls, might be interesting to review/discuss the nonstandard and rather extravagant looking value for vm.swappiness=1 adopted by antiX – at least in -16 Berta Caceres.
                                Was this choice discussed ? Of course it doesn’t matter if running from CD live (where, I believe, no swap at all is used by default anyway), but it might hurt once a swap file or partition is in place, on systems with little RAM, by all-but preventing the swap to play its role. Or am I mistaken ?
                                On my own systems with swapping I have reset the “swappiness” value to 60.

                                #3719
                                Member
                                Ninho

                                  @Caprea: thanks ! But I’m already set-up with a fresh, 800 megabyte swapfile.
                                  I have been closely following that other good paper (from the horse’s mouth):

                                  https://www.linux.com/news/all-about-linux-swap-space


                                  Ninho

                                Viewing 15 results - 1,651 through 1,665 (of 1,706 total)