Open-source News

Intel Core i5 13600K + Core i9 13900K "Raptor Lake" Linux Preview

Phoronix - Thu, 10/20/2022 - 21:00
Last month Intel announced 13th Gen Core "Raptor Lake" processors while today these processors officially go on sale. Today also marks the review embargo lift with Intel having provided Phoronix with the new Core i5 13600K and i9 13900K processors for Linux testing.

Glibc Picks Up More AVX-512 Optimizations - ~30% Less Cycles For Some String Functions

Phoronix - Thu, 10/20/2022 - 17:30
The widely depended upon GNU C Library "glibc" has seen another round of optimization work for benefiting those with AVX-512 processors from Intel or now on the AMD side too with Zen 4...

FineIBT Updated For Linux As Alternative Control Flow Integrity (CFI) Approach

Phoronix - Thu, 10/20/2022 - 17:14
Back in August 2021 saw initial patches by Intel for "FineIBT" for the Linux kernel as aiming to combine the best of their Control-flow Enforcement Technology (CET) and Control Flow Integrity for upping the kernel security protections in an efficient manner...

Open Firmware DRM Driver "OFDRM" Queuing For Linux 6.2

Phoronix - Thu, 10/20/2022 - 16:55
A first batch of "drm-misc-next" patches have been sent in for DRM-Next to queue until the Linux 6.2 merge window comes about in December. With this initial batch of new material for v6.2 is a new Direct Rendering Manager driver: OFDRM...

Intel Engineers Release SVT-AV1 1.3 With More Optimizations, Tuning For Better AV1 Encode

Phoronix - Thu, 10/20/2022 - 15:00
The open-source SVT-AV1 encoder for AV1 content that is primarily developed by Intel software engineers continues getting faster and finding new ways to provide better tuned presets and yield better performance for AV1 encoding on CPUs...

4 open source editors I use for my writing

opensource.com - Thu, 10/20/2022 - 15:00
4 open source editors I use for my writing Alan Formy-Duval Thu, 10/20/2022 - 03:00

I've done a lot of writing throughout my career, mostly as an IT consultant creating product documentation as client deliverables. These documents generally provide instructions on installing various operating systems and software products.

Since 2018, I've contributed to opensource.com with articles about open source software. Of course, I use open source editors to write my pieces. Here are the four open source editors that I have used.

1. Vi

Vi, also referred to as Vim, is the first open source editor that I learned. This was the editor taught by my computer science classes and that I used for all of my C programming. I have used it as my de facto command line editor since the mid-1990s. There are so many iterations of this tool that I could write a whole series on them. Suffice it to say that I stick to its basic command line form with minimal customization for my daily use.

2. LibreOffice Writer

Writer is part of the open source LibreOffice office suite. It is a full-featured word processor maintained by The Document Foundation. It supports industry-standard formats such as the Open Document Format (ODF), Open XML, and MS Office DOC, DOCX. Learn more about Writer on its official site.

More Linux resources Linux commands cheat sheet Advanced Linux commands cheat sheet Free online course: RHEL technical overview Linux networking cheat sheet SELinux cheat sheet Linux common commands cheat sheet What are Linux containers? Our latest Linux articles 3. Ghostwriter

Ghostwriter is a text editor for Markdown. It has a nice real-time viewer and syntax guide or cheat sheet feature. Visit the official website to discover more.

4. Gedit

Gedit is the basic graphical editor found in many Linux distributions and is described as "a small and lightweight text editor for the GNOME desktop." I have begun using it lately to create articles in the Asciidoc format. The benefit of using Asciidoc is that the syntax is easily manageable and importable into web rendering systems such as Drupal. See the Gedit Wiki for many tips and tricks.

Editing text

An extensive list of editing software is available in the open source world. This list will likely grow as I continue writing. The primary goal for me is simplicity in formatting. I want my articles to be easy to import, convert, and publish in a web-focused platform.

Your writing style, feature needs, and target audience will guide you in determining your preferred tools.

In celebration of the National Council of Teachers of English NCTE National Day on Writing 2022, I thought I'd share a few of my favorite open source writing tools.

Image by:

Original photo by mshipp. Modified by Rikki Endsley. CC BY-SA 2.0.

Tools LibreOffice Text editors Vim What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Test your IoT platform with open source tools

opensource.com - Thu, 10/20/2022 - 15:00
Test your IoT platform with open source tools Chongyuan Yin Thu, 10/20/2022 - 03:00

The Internet of Things (IoT) and edge computing industries are developing quickly, and with it so does the scale of endpoints and the complexity of business logic. The more the IoT ecosystem grows, the more important it becomes to verify the availability and reliability of your platform. If you're delivering services, then testing your IoT system can help you find bottlenecks in performance, and help you plan ahead for scalability.

IoT can consist of any number of different devices using diverse protocols, strung together with complex integration architecture. This can make it challenging to design effective and meaningful tests for it. In this article, I demonstrate how to test an IoT platform using EMQX as an example of how to introduce performance test tools to verify and test platform-related quality indicators.

More on edge computing Understanding edge computing Why Linux is critical to edge computing eBook: Running Kubernetes on your Raspberry Pi Download now: The automated enterprise eBook eBook: A practical guide to home automation using open source tools eBook: 7 examples of automation on the edge The latest on edge EMQX

EMQX is a scalable messaging (MQTT) broker used to connect IoT devices. It's open source, but because it's a broker you must have a working node to manage all the messaging traffic. You can accept its business source license (BSL) and gain 10 licenses to use the official EMQX cloud installation. Alternately, you can install and run EMQX on your own server.

Introduction to JMeter

JMeter is an open source software of the Apache Foundation. It mainly implements performance tests by simulating concurrent loads, a common performance testing method in the open source community. It mainly has the following advantages:

  • Built-in support for multiple protocols, including TCP, HTTP, HTTPS, and more.
  • Provides a flexible plug-in extension mechanism and supports third-party extensions of other protocols.
  • Great community support.
Install JMeter

JMeter is written in Java, so you must install Java if it's not already installed. For Linux, macOS, and Windows, you can use Adoptium.net. On Linux, you may alternatively use SDKMan.

After installing Java, download JMeter, decompress it, and enter the bin subdirectory of the archive directory. Depending on your operating system, run jmeter (Linux and macOS) or jmeter.bat (Windows).

$ wget https://dlcdn.apache.org//jmeter/binaries/apache-jmeter-X.Y.tgz $ tar xvf apache-jmeter*tgz $ cd apache-jmeter-X.Y/bin $ ./jmeter

JMeter's script editing interface is presented to you:

Image by:

(Chongyuan Yin, CC BY-SA 4.0)

Your first JMeter test

Here's how to use JMeter to build and run a simple HTTP test case.

  1. JMeter uses a single thread to simulate a user. A Thread Group refers to a virtual user group, and simulates access to the system being tested.

    To add a virtual user group (Thread Group), right-click on Test plan > Add > Threads (Users) > Thread Group.

    Image by:

    (Chongyuan Yin, CC BY-SA 4.0)

    Number of Threads in Thread Properties can be used to configure the number of concurrent users in a virtual user group. The higher the value, the greater the amount of concurrency. Use Loop Count to configure how many tests each virtual user performs.

    Image by:

    (Chongyuan Yin, CC BY-SA 4.0)

  2. JMeter includes several example tests. Add the HTTP Request test with a right-click on Thread Group > Add > Sampler > HTTP Request.

    Image by:

    (Chongyuan Yin, CC BY-SA 4.0)

    In the sample test script, use the default HTTP request settings to initiate an HTTP request to a website.

    Image by:

    (Chongyuan Yin, CC BY-SA 4.0)

  3. A result listener is not strictly necessary for the performance test, but it lets you see the test result. This can help facilitate debugging in the process of writing scripts. In this sample script, use View Result Tree to help view the response information of the request.

    To add a result listener, right-click on Thread group > Add > Listener > View Results Tree.

    Image by:

    (Chongyuan Yin, CC BY-SA 4.0)

  4. Time to run the test. After saving your test script, click the Start button in the top toolbar to run the test script. Because you're testing against a public website, use a low number (under 10) of threads and loop count. If you spam the site, you could find yourself blocked in the future!

    Image by:

    (Chongyuan Yin, CC BY-SA 4.0)

Test your IoT platform

You've completed a simple HTTP test script. You can draw inferences from this case and try other protocols. In the next article, I'll introduce other test components of JMeter in more detail, which you can use together to build complex test scenarios. For now, explore JMeter to see what you can test.

This demo of JMeter using EMQX shows how to introduce performance test tools to verify and test platform-related quality indicators.

Image by:

opensource.com

Edge computing Internet of Things (IoT) What to read next This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License. Register or Login to post a comment.

Pages