Search Results for 'swap'

Forum Forums Search Search Results for 'swap'

Viewing 15 results - 676 through 690 (of 1,706 total)
  • Author
    Search Results
  • #73939
    Member
    scruffyeagle

      Thanks for the advice. I’ll return to it, and not be timid about wiping .cache items out.

      Yes, I really did use that large a swap partition. I’ve read in the past, that one should have double the swap space vs. RAM. That would be 8GB. All my data is stored on encrypted external HD’s, NOT the internal drive. The machine this is happening on has (came with) a 250GB internal drive, of which about 60GB hosts Antix & Linux Mint (~30GB each) – so, I have a huge amount of drive space to spare. I could easily afford doubling the RAM, and adding on a couple GB more to make it 10GB. And, 10 is such a nice, round number…

      #73905
      Member
      seaken64

        I did a couple more experiments with two more old computers, neither of which were on my first test since they did not fit into the “Pentium 4” class I was experimenting with. But since we are talking about the minimum for a daily driver I decided to do a quick experiment. My question was whether my comment about needing 2GB instead of 1GB was valid. I know this is subjective and that daily driver can be different for different people doing different things. But my hypothesis is based on doing daily “cloud” office computing, and maybe some simple audio and video. Here we go:

        Computer #1 – HP Mini 110-3700 Netbook
        Atom N455 Single Core Hyper Threaded, for two threads. 1.67Ghz w/ 1GB DDR3 RAM. 240 GB SATA Drive.
        Running antiX-21-Full 64-bit (also runs 32-bit in another partition)

        This machine supports Chrome and Chromium. I used Chromium for the tests. When browsing to Google Workspace it takes quite a while to open the page. It takes even longer to open a Google Doc for editing. Once it loads it is still sluggish to move around the doc, but it does edit the document. If I open a second document, now with three tabs open (one for Google Drive and two for two docs), the RAM is nearly exhausted at over 900 and swap is kicked in. There is no room left. If using Google Workspace this machine can only do one document at a time and nothing else.

        As a general browser to the forum and opening the antiX menus and windows it is a fair experience. It is even better with SeaMonkey (but no Google Workspace support in SeaMonkey). I would say this experience is very similar to my Pentium 4’s with 1GB of RAM and worse than my P4’s with 1.25GB and 1.5GB. This atom processor, even though it is two threads, is not very different to faster 2.4/2.6/2.8 single thread P4’s

        Computer #2 – Gateway MT6728 Laptop
        Pentium Dual T2330, Two Cores, two threads, 1.6Ghz with 2GB DDR2 RAM, 150GB SATA Drive
        Running antiX-21-Full 64-bit

        I used Chromium for the tests. When browsing to Google Workspace it is not immediate but fast. The Google Drive page comes up in just a few seconds. It also loads a doc fairly fast and it is ready to edit in only a few seconds. With the three tabs open the RAM is at 1GB, But since this machine has 2GB it is not close to running low on RAM. I can also open other apps such as a local file manager or music player.

        I put this machine ahead of all the previous Pentium 4’s including my P4HT 3.2Ghz w/ 3GB. It is about the same as the previous Athlon 64 X2 I used to compare to the others on my list. This machine runs Google Workspace just fine and can be a daily driver for this purpose.

        The HP Mini is the only two thread machine I have with only 1GB. It does not outperform the P4 with 1GB, which I did not think was good enough as a daily driver. My guess is that it would probably be better with 2GB. My P4 with 2GB was also not impressive for Google Workspace but it is close to being a daily driver if you can put up with only editing one Google Doc. It is about the same with this netbook.

        My conclusion is that 1GB is not really enough. I maintain that 2GB is the minimum for a daily driver for cloud office work. And a two thread machine is best. A single thread 2.8 Ghz P4 is barely manageable even with 2GB but it’s still better than an two threaded Atom N455 with only 1GB.

        Seaken64

        #73693
        Member
        ModdIt

          Delete data in /cache delete /home/yourusername/.cache it will be recreated automagicaly
          Delete /home/yourusename/.config/libreoffice/4/crash it might be named slightly different regarding the 4
          When you get back in to your system start libreoffice for first time with –norestore option my start option looks like this libreoffice7.2 –norestore –writer
          you may not need the version number that depends on install method.

          A corrupted or full cache can completely block graphical login, sometimes complete system. Libreoffice crash recovery will try and auto restart with the big
          document so you should prevent that. You may have to delete the complete LO config in home, no worry it will be recreated next time you start LO.

          4GB RAM, 10 GB swap, 27 GB ext4 partition. Do you mean 10GB /home or really such a huge swap area.
          Generaly about same swap size as ram is the recommendation.

          • This reply was modified 1 year, 4 months ago by ModdIt.
          • This reply was modified 1 year, 4 months ago by ModdIt.
          #73607
          Member
          ModdIt

            Maybe good to add that those with the luxury of 4 or even 8GB memory and an SSD
            might like to set swappiness to 1 or even 0.

            Remembering that newer consumer SSD are write cycle optimised devices, samsung
            speak for older ones lasted too long, hidden in marketing drivel was expectation
            of 3 years before device replacement. My youngest computer is 12 years old.

            #73583
            Member
            Xecure

              Using “the fix” in antiX 21-runit, I get the correct swappiness

              $ cat /proc/sys/vm/swappiness
              10

              which is configured in /etc/sysctl.conf

              #added by antiX
              vm.swappiness = 10

              Using the original /etc/runit-core/S13procps, my swappiness is 60, meaning the /etc/sysctl.conf configuration was not loaded.

              @seriousness, can you see if editing the file and adding the change proposed and rebooting activates the magic sysrq option?

              antiX Live system enthusiast.
              General Live Boot Parameters for antiX.

              Member
              Xoki

                Para quienes tengan un equipo con pocos recursos (micro lento, RAM escasa…) también pueden instalar Preload, Prelink, Zswap (tutorial en el link de arriba), optimizar la red (toca buscar tutoriales…) y rebajar el tiempo de espera en el inicio editando /etc/default/grub y rebajando “GRUB_TIMEOUT 10” a un valor más bajo (10 son los segundos de espera).
                Espero que ayude a los no curtidos como yo 😀

                Where is the library?

                Member
                Xoki

                  Gracias por la ayuda.

                  ZRAM: Por si a alguien le interesa dejo el link de un excelente artículo de como crear, activar y configurar la cantidad de Ram que queremos destinar a ZRam.
                  Lo añado aquí por que tienes infinidad de tutoriales y demás que muestran como hacerlo, pero no todos sirven a nuestro sistema operativo en concreto o son enrevesados.
                  Este es simple y efectivo, exactamente lo que la mayoría buscamos.

                  https://geekland.eu/optimizar-el-rendimiento-con-zram/

                  Además hay otros puntos interesantes en el artículo. Para crear archivo swap o modificar la partición swap los he encontrado facilmente, así como para ajustar Swappiness (como ha dicho Christophe, el valor de 10 que viene inicialmente es acertado, pero para gustos…colores!).

                  La Swap también viene con un buen valor, aumentala si en tu caso resulta insuficiente, esto depende del uso que des a tu computadora.

                  Where is the library?

                  #73440
                  Member
                  entropyagent

                    Hi Antixers, thanks for the new release.

                    Am I imagining it, or does AntiX 21 runit 64-bit GUI installer really struggle with installing to LVM (prepared LVM root and LVM swap, in my case)?

                    I tried a few times (had to install lvm2) but it seemed to never got past 2-3% complete.

                    sdb                       8:16   0 232.9G  0 disk 
                    ├─sdb1                    8:17   0    34G  0 part 
                    ├─sdb2                    8:18   0 156.7G  0 part 
                    ├─sdb3                    8:19   0  42.1G  0 part 
                    │ ├─vgsam250d2-lvswap01 253:4    0   4.1G  0 lvm  [SWAP]
                    │ └─vgsam250d2-lvroot01 253:5    0    15G  0 lvm  /
                    

                    I may have complicated things by not wanting to install a bootloader, as I have another install that handles grubby work.

                    Has anyone achieved this? You could save me a lot of pain by just telling me it’s never going to work with Antix21 installer.

                    I thought perhaps I might be trying something impossible, but a slackware 15 RC live disk installed OK.

                    #73430
                    Member
                    nets-2

                      Bonjour, a votre page consacré au language FR

                      Comme dans le topic, j’ai installé antix 486 dessus,

                      Je jegarde lm-sensors, et je n’ai que 470 de mémoires ddr2 vidéos ou physique, le system est très lent , la swap est utilisé MO par mo…

                      J’ai donc une ram ddr2 et je sais que c”est tr-s en dessous de ses capacité au msi m670 laptop.

                      Je n’ai pas trouvé d’outil efficaces, pour savoir ou modifié et arranger ce problem,

                      J’ai toujours 420 Mo de plafond, et le cpu fonctionne de 800 à 1600 Mhz c’est un laptop.

                      J’ai installer zram-tools, confi par défault et, j’ai légèrement plus de pêche !!

                      Es-ce que quelqu’un qui connais plus que moi antiX ?

                      Member
                      Xoki

                        Hola, mi equipo es de bajo rendimiento, curioseando sobre la swap, los archivos swap y zram me he encontrado con la duda sobre que valor swappiness es mejor en este tipo de equipos (pocos recursos, adjunto captura).
                        Por lo visto en linux swappiness suele venir preseleccionado en 60, en mi caso arroja un valor de 10. Leyendo al respecto, parece ser que 10 es recomendado en equipos con una cierta cantidad de ram (mas de 2G dicen unos, mas de 4 dicen otros). En mi caso, con un miserable 1G entonces deberia establecerlo en un valor mas alto, por lógica, tras haber leído esto.
                        Pero se me plantea esta duda:
                        Si la RAM es mucho más rápida que la SWAP, ¿no debería siempre establecerse un valor bajo tal como 10? sé que se me escapa algo y por eso pregunto y pido consejo.

                        Sobre los archivos Swap, creo que Antix trae 1.45G, ¿es recomendable añadir un archivo Swap o aumentar el tamaño de la particion Swap? siempre buscando dar rendimiento.

                        Tambien he fijado el valor de ZRAM en 350M (recomendaban la mitad de la RAM pero me pareció excesivo). Si la ZRAM tiene prioridad sobre el SWAP, sí vas a tener un aumento de velocidad en el equipo por este lado, pero en detrimento de la RAM, que yo tengo muy poco y no sé hasta que punto puede ser útil hacer esto en un equipo como este.
                        Entonces…¿me conviene tener ZRAM? Si es así, ¿que % de RAM es recomendable para este equipo?

                        ¿algun otro consejo sobre como optimizar el rendimiento?

                        Solo un apunte más, no tiene que ver con el tema, es un error, solo para que conste. En el escritorio rox-icewm (y en todos los icewm creo recordar) cuando conecto una pantalla externa al laptop, la barra de inicio (la de la parte inferior de la pantalla) no sale donde deberia, el fondo de escritorio si ocupa toda la pantalla, pero dicha barra aparece a media altura, o sea en medio y medio, y lo que verias en la pantalla del laptop solo ocupa 1/4 de la pantalla, el cuarto superior izquierdo. O sea que no vale de nada conectar la pantalla…

                        gracias de antemano y un saludo a todos los colaboradores de Antix

                        Where is the library?

                        #73339
                        Forum Admin
                        rokytnji

                          Don’t own a vostro. My Dell latitudes don’t do this.
                          In case you wanna find out on your own.

                          harry@biker:~
                          $ lsblk
                          NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
                          sda      8:0    0 465.8G  0 disk 
                          ├─sda1   8:1    0   4.8G  0 part [SWAP]
                          ├─sda2   8:2    0 441.4G  0 part /home
                          └─sda3   8:3    0  19.5G  0 part /
                          sr0     11:0    1  1024M  0 rom  
                          harry@biker:~
                          $ dmesg | grep sr0
                          [    1.834262] sr 1:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
                          [    1.834483] sr 1:0:0:0: Attached scsi CD-ROM sr0
                          

                          Do the above after sleep and after the tray opens.

                          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

                          #73282

                          In reply to: Display brightness

                          Member
                          ben

                            My hardware

                            System:
                            Kernel: 4.9.235-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 8.3.0
                            Desktop: IceWM 2.9.2
                            Distro: antiX-19.3_x64-full Manolis Glezos 15 October 2020
                            base: Debian GNU/Linux 10 (buster)
                            Machine:
                            Type: Desktop System: Dell product: Precision WorkStation T5500 v: N/A
                            serial: <filter>
                            Mobo: Dell model: 0CRH6C v: A02 serial: <filter> BIOS: Dell v: A18
                            date: 10/15/2018
                            CPU:
                            Info: 6-Core model: Intel Xeon X5670 bits: 64 type: MT MCP arch: Nehalem
                            rev: 2 cache: L2: 12 MiB
                            flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 70226
                            Speed: 1596 MHz min/max: 1596/2927 MHz boost: enabled Core speeds (MHz):
                            1: 1596 2: 1596 3: 1596 4: 1596 5: 1596 6: 1596 7: 2394 8: 1729 9: 1596
                            10: 1596 11: 1596 12: 1596
                            Graphics:
                            Device-1: NVIDIA GF106GL [Quadro 2000] driver: nouveau v: kernel
                            bus-ID: 03:00.0
                            Display: x11 server: X.Org 1.20.4 driver: loaded: modesetting
                            unloaded: fbdev,vesa resolution: 2048×1152
                            OpenGL: renderer: NVC3 v: 4.3 Mesa 18.3.6 direct render: Yes
                            Audio:
                            Device-1: Intel 82801JI HD Audio vendor: Dell driver: snd_hda_intel
                            v: kernel bus-ID: 00:1b.0
                            Device-2: NVIDIA GF106 High Definition Audio driver: snd_hda_intel
                            v: kernel bus-ID: 03:00.1
                            Sound Server-1: ALSA v: k4.9.235-antix.1-amd64-smp running: yes
                            Sound Server-2: PulseAudio v: 12.2 running: no
                            Network:
                            Device-1: Broadcom Limited NetXtreme BCM5761 Gigabit Ethernet PCIe
                            vendor: Dell driver: tg3 v: 3.137 port: dc80 bus-ID: 06:00.0
                            IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
                            Device-2: Qualcomm Atheros AR5212/5213/2414 Wireless Network Adapter
                            vendor: D-Link System AirPlus DWL-G520 driver: ath5k v: kernel port: dc80
                            bus-ID: 07:04.0
                            IF: wlan0 state: down mac: <filter>
                            Drives:
                            Local Storage: total: 1.36 TiB used: 455.53 GiB (32.6%)
                            ID-1: /dev/sda vendor: Seagate model: ST1000DM003-1ER162 size: 931.51 GiB
                            ID-2: /dev/sdb vendor: Western Digital model: WD5000AAKX-22ERMA0
                            size: 465.76 GiB
                            Partition:
                            ID-1: / size: 97.93 GiB used: 21.77 GiB (22.2%) fs: ext4 dev: /dev/sda3
                            Swap:
                            Alert: No swap data was found.
                            Sensors:
                            System Temperatures: cpu: 28.0 C mobo: 19.0 C gpu: nouveau temp: 47.0 C
                            Fan Speeds (RPM): cpu: 810 mobo: 1133 gpu: nouveau fan: 2670
                            Info:
                            Processes: 283 Uptime: 4m Memory: 47.23 GiB used: 1.61 GiB (3.4%)
                            Init: SysVinit runlevel: 5 Compilers: gcc: 8.3.0 Packages: 2222
                            Shell: Bash v: 5.0.3 inxi: 3.3.06

                            #73264
                            Member
                            lgj100

                              Hi again,

                              This slowdown problem seems to be considerably worse after starting up from suspend. Any ideas how to avoid this other than not using suspend? I have included my hardware info below.

                              Sincerely,
                              Lars.

                              System: Kernel: 5.10.57-antix.1-amd64-smp x86_64 bits: 64 compiler: gcc v: 10.2.1
                              parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.57-antix.1-amd64-smp
                              root=UUID=6116b23f-d3ee-4f8c-956a-f9aaf4a3f5ff ro
                              Desktop: IceWM 2.9.2 vt: 7 dm: N/A Distro: antiX-21_x64-full Grup Yorum 31 October 2021
                              base: Debian GNU/Linux 11 (bullseye)
                              Machine: Type: Laptop System: LENOVO product: 4177RVU v: ThinkPad T420 serial: <filter> Chassis:
                              type: 10 serial: <filter>
                              Mobo: LENOVO model: 4177RVU serial: <filter> UEFI-[Legacy]: LENOVO v: 83ET82WW (1.52 )
                              date: 06/04/2018
                              Battery: ID-1: BAT0 charge: 40.7 Wh (100.0%) condition: 40.7/47.5 Wh (85.7%) volts: 12.0
                              min: 10.8 model: LGC 45N1005 type: Li-ion serial: <filter> status: Full
                              Memory: RAM: total: 7.66 GiB used: 3.36 GiB (43.9%)
                              RAM Report: permissions: Unable to run dmidecode. Root privileges required.
                              PCI Slots: Permissions: Unable to run dmidecode. Root privileges required.
                              CPU: Info: Dual Core model: Intel Core i5-2450M bits: 64 type: MT MCP arch: Sandy Bridge
                              family: 6 model-id: 2A (42) stepping: 7 microcode: 2F cache: L2: 3 MiB bogomips: 19935
                              Speed: 797 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 797 2: 797 3: 797 4: 797
                              Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov constant_tsc
                              cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept est flexpriority flush_l1d fpu fxsr
                              ht ibpb ibrs ida lahf_lm lm mca mce md_clear mmx monitor msr mtrr nonstop_tsc nopl nx
                              pae pat pbe pcid pclmulqdq pdcm pebs pge pln pni popcnt pse pse36 pti pts rdtscp sep
                              ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc
                              tsc_deadline_timer vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr
                              Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
                              Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
                              Type: mds mitigation: Clear CPU buffers; SMT vulnerable
                              Type: meltdown mitigation: PTI
                              Type: spec_store_bypass
                              mitigation: Speculative Store Bypass disabled via prctl and seccomp
                              Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
                              Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP:
                              conditional, RSB filling
                              Type: srbds status: Not affected
                              Type: tsx_async_abort status: Not affected
                              Graphics: Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
                              vendor: Lenovo ThinkPad T420 driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0126
                              class-ID: 0300
                              Device-2: Chicony integrated camera type: USB driver: uvcvideo bus-ID: 1-1.6:4
                              chip-ID: 04f2:b221 class-ID: 0e02
                              Display: x11 server: X.Org 1.20.11 driver: loaded: intel display-ID: :0.0 screens: 1
                              Screen-1: 0 s-res: 1366×768 s-dpi: 96 s-size: 361x203mm (14.2×8.0″)
                              s-diag: 414mm (16.3″)
                              Monitor-1: LVDS1 res: 1366×768 hz: 60 dpi: 112 size: 310x170mm (12.2×6.7″)
                              diag: 354mm (13.9″)
                              OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) v: 3.3 Mesa 20.3.5
                              compat-v: 3.0 direct render: Yes
                              Audio: Device-1: Intel 6 Series/C200 Series Family High Definition Audio vendor: Lenovo
                              driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20 class-ID: 0403
                              Sound Server-1: ALSA v: k5.10.57-antix.1-amd64-smp running: yes
                              Sound Server-2: PulseAudio v: 14.2 running: no
                              Network: Device-1: Intel 82579LM Gigabit Network vendor: Lenovo ThinkPad T520 driver: e1000e
                              v: kernel port: 5080 bus-ID: 00:19.0 chip-ID: 8086:1502 class-ID: 0200
                              IF: eth0 state: down mac: <filter>
                              Device-2: Intel Centrino Wireless-N 1000 [Condor Peak] driver: iwlwifi v: kernel
                              modules: wl port: efa0 bus-ID: 03:00.0 chip-ID: 8086:0084 class-ID: 0280
                              IF: wlan0 state: up mac: <filter>
                              IP v4: <filter> scope: global broadcast: <filter>
                              IP v6: <filter> scope: link
                              WAN IP: <filter>

                              #73164
                              Member
                              violet_spark

                                we have a thinkpad x220 and t420. Here is the Device section from our /etc/X11/xorg.conf config that we have configured for the intel graphics on these laptops which might be helpful. took awhile to nail down all the specifics to get it working best as possible.

                                We also use this with the compositor picom to get good vsync working (optional). It may seem unintuitive but setting “TearFree” to “true” causes a whole lot of trouble both with and without a compositor for these graphics.

                                
                                Section "Device"
                                	Identifier  "Card0"
                                	Driver      "intel"
                                	Option      "AccelMethod"     "sna"
                                	Option	    "TearFree"        "false"
                                	Option      "TripleBuffer"    "false"
                                	Option      "SwapbuffersWait" "true"
                                	Option      "DRI"             "3"
                                EndSection
                                

                                We do still have lag sometimes watching video in browser though. It’s usually not enough to be a big problem for most kinds of videos, but because of that we use mpv with a browser plugin called ff2mpv that adds a “open in mpv” button to the right click menu on videos. mpv also lets us add a gamma correction curve to video playback so it looks less washed out on the TN panel we have.

                                • This reply was modified 1 year, 4 months ago by violet_spark.
                                Member
                                scruffyeagle

                                  I had a major crash of Antix v19.3 (upgraded). It’s being run on a Dell Precision M6300 laptop, 4GB RAM, 10 GB swap, 27 GB ext4 partition.

                                  I’d been online, reading a long document. When I was done, I tried to update my diary – and, it couldn’t save. The error message box said it couldn’t write to the file. I eventually shut down LibreOffice w/o saving it. I tried opening files on other partitions, but couldn’t close them. The error message said no space on the disk. I tried to reboot, but it couldn’t shut down properly. I shut it down via press-and-hold of the power button. Trying to reboot into Antix 19.3 (up’d), it stalled out at a terminal prompt, unable to start up the X windowing w/ desktop.

                                  There were 2 error lines visible on the screen, which were both the same:

                                  rsyslogd: file ‘4’ write error: No space left on device [v8.1904.0 try https://www.rsyslog.com/e/2027 ]

                                  I tried using “startx”, and it didn’t work. Here’s the output it printed to the screen:
                                  ———————————–
                                  Xauth: Unable to write authority file /home/spirit/.Xauthority-n
                                  (EE)
                                  fatal server error
                                  (EE) Cannot open log file /home/spirit/.local/share/xorg.0.log
                                  (EE)
                                  (EE)
                                  Please consult the Xorg Foundation support at http://wiki.x.org for help
                                  (EE)
                                  Xinit: giving up
                                  Xinit: Unable to connect to X server
                                  : connection refused
                                  Xinit: server error
                                  ——————————–

                                  I painstakingly copied by hand, the vital info from the screen onto paper. Luckily, I had a second laptop set up with Antix v19.4 – and that’s what I’m using for posting here. Note, that I was under the impression that I still had around 9 GB unused in the partition.

                                  • This topic was modified 1 year, 4 months ago by scruffyeagle.
                                Viewing 15 results - 676 through 690 (of 1,706 total)