Announcement

Collapse
No announcement yet.

unit of fMEM in /proc/lve/list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • unit of fMEM in /proc/lve/list

    I need to know whats the unit of integer number in column of fMEM while using `cat /proc/lve/list`
    Its number of failed visits because of lake of memory or its the total memory which was required to not getting error 500 for those visits?

  • #2
    number of memory faults.

    Comment


    • #3
      Its a little strange number, because Ive sampled it with 5 minutes interval on a website which has less than 2 visits per minute, but in this intervals I can see the number is increasing by 5 to 50 counts,

      Comment


      • #4
        1 visit can mean multiple processes started, and some processes can generate multiple memory faults.

        Comment


        • #5
          Do you have any benchmark regarding each famous web application like Joomla, Prestashop , etc memory usages?

          Comment


          • #6
            No, we never did that. Plus, it depends on plugins, 32bit vs 64bit, modules compiled into php, usage of opcode cache, etc...

            Comment


            • #7
              Ive an other related to `/proc/lve/list` question,
              If I sample CPU column for an lve with interval of 60 seconds and then divide the subtract of these two samples by 60, will it give me the average usage of CPU in Hertz?

              Comment


              • #8
                For lve version > 4 use (first digit in /proc/lve/list)
                1000000000 * procs

                where procs is the number of processors as in /proc/cpuinfo

                for lve version <= 4:
                add up all the: cpu mhz * 1024 * 1024 from /proc/cpuinfo

                Comment


                • #9
                  Thanks for you explanation, but Ive trouble finding procs,
                  Its my cpuinfo, would you please let me know how many is my procs?

                  Code:
                  processor       : 7
                  
                  vendor_id       : GenuineIntel
                  
                  cpu family      : 6
                  
                  model           : 26
                  
                  model name      : Intel(R) Core(TM) i7 CPU         960  @ 3.20GHz
                  
                  stepping        : 5
                  
                  cpu MHz         : 3201.000
                  
                  cache size      : 8192 KB
                  
                  physical id     : 0
                  
                  siblings        : 8
                  
                  core id         : 3
                  
                  cpu cores       : 4
                  
                  apicid          : 7
                  
                  initial apicid  : 7
                  
                  fpu             : yes
                  
                  fpu_exception   : yes
                  
                  cpuid level     : 11
                  
                  wp              : yes
                  
                  flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida dts tpr_shadow vnmi flexpriority ept vpid
                  
                  bogomips        : 6414.45
                  
                  clflush size    : 64
                  
                  cache_alignment : 64
                  
                  address sizes   : 36 bits physical, 48 bits virtual
                  
                  power management:

                  Comment


                  • #10
                    Procs is the total number of times processor field is in that file.

                    Comment


                    • #11
                      Thanks again dear Igor for your fast response,
                      but I didn find out what you mentioned clearly.
                      Would you please specify exactly which row of that information you mean?

                      Comment


                      • #12
                        This one.

                        processor : 7

                        Comment

                        Working...
                        X