Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

performance

What are Kernel PMU event-s in perf_events list?

August 7, 2022 by Magenaut

Searching for what one can monitor with perf_events on Linux, I cannot find what Kernel PMU event are?
Namely, with perf version 3.13.11-ckt39 the perf list shows events like:

Categories Q&A, Unix & Linux Tags cpu, linux, monitoring, perf-event, performance Leave a comment

Disable Spectre and Meltdown mitigations

August 7, 2022 by Magenaut

Can I disable Spectre and Meltdown mitigation features in Ubuntu 18.04LTS?

Categories Q&A, Unix & Linux Tags performance, vulnerability Leave a comment

Scalability of ‘sort -u’ for gigantic files

August 7, 2022 by Magenaut

What is reasonable scalability limit of sort -u?
(in dimensions of “line length”, “amount of lines”, “total file size”)

Categories Q&A, Unix & Linux Tags performance, sort Leave a comment

Efficient way to print lines from a massive file using awk, sed, or something else?

August 7, 2022 by Magenaut

If I had a plain-text file containing 8 million lines and I want to print out lines 4,000,010 to 4,000,000 to the screen, which would be more efficient: awk or sed? There is no pattern to the text, and unfortunately, a database isn’t an option. I know this isn’t ideal, I’m just curious on which … Read more

Categories Q&A, Unix & Linux Tags awk, performance, sed Leave a comment

Use more than one query, but prevent duplicates – at scale!

August 6, 2022 by Magenaut

Setup

Categories Q&A, Wordpress Tags duplicates, performance, wp-query Leave a comment

I’m designing a plugin to create database indexes. Suggestions?

August 5, 2022 by Magenaut

I’m starting a (totally open-source) little project to create a WordPress plugin that will add appropriate indexes to WP’s MySQL tables to improve performance. (Some wp tables, notably wp_postmeta and wp_usermeta, can use better indexing.)

Categories Q&A, Wordpress Tags database, optimization, performance, plugin-development Leave a comment

Timezone is wrong when picking city (Copenhagen)

August 5, 2022 by Magenaut

The timezone-setting (in ‘Settings’ >> ‘Generel’ >> ‘Timezone’), seems to be ignored. I’ve set it to be ‘Copenhagen’ (value: Europe/Copenhagen).

Categories Q&A, Wordpress Tags core, performance, timezones Leave a comment

Get terms that are associated with products from current category

August 4, 2022 by Magenaut

I need to list all custom terms (brands) that are associated with products from the category that is currently being viewed. E.g. I have these brands created:

Categories Q&A, Wordpress Tags categories, performance, terms Leave a comment

Should I use docker in wordpress production?

August 5, 2022August 4, 2022 by Magenaut

My question is, is it a good idea to use docker for a big woocommerce website (more than 100k products)? Or will this incur a noticable performance cost compared to running wordpress straight on the VPS (without containerization)?

Categories Q&A, Wordpress Tags database, docker, performance, woocommerce-offtopic Leave a comment

Ajax takes 10x as long as it should/could

August 5, 2022August 4, 2022 by Magenaut

I have just hit my first serious issue with WordPress and for someone that enjoys Ajax this is a biggy.

Categories Q&A, Wordpress Tags ajax, performance Leave a comment
Older posts
Newer posts
← Previous Page1 … Page16 Page17 Page18 … Page20 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress