Posts
178
Following
26
Followers
374

Steven Rostedt

Copied my ktest.pl config from my server (58 cores / 256G of RAM) to my laptop. I guess running make -j120 isn’t good for the poor thing 😢

0
0
3

Steven Rostedt

Today marks the day I officially converted my internal C and bin directories over to git from subversion. I have a set of personal tools I use (or just to test how things work) that I’ve kept in subversion.

Why?

Because the central repository was perfect for it. I did not care about distributed environment. I would always commit back to the central authority.

Why did I change?

Well, I do modify the code from different machines here and there, and I finally hit a merge conflict that is pretty much impossible to solve with subversion. Which caused me a couple of hours to get it back to a working state as subversion makes it very difficult to resolve nasty conflicts.

Thank God for git svn as I needed to maintain the history as well.

Oh well, Goodbye subversion. It was fun while it lasted.

0
0
4

Steven Rostedt

For my day off, I decided to implement passing a stack trace from start event to end event (to show the backtrace of the longest blocked areas).

0
0
1

Steven Rostedt

I usually add this to my .bashrc file to all my work machines.

alias reboot='echo "Wrong window idiot!"'
alias halt='echo "Wrong window idiot!"'
alias shutdown='echo "Wrong window idiot!"'

But I just learned, that I never added it to my Google workstation 😛

0
1
5

Steven Rostedt

The blog on the responses from the Linux Plumbers survey is now published. https://lpc.events/blog/2022/index.php/2023/01/06/lpc-2022-attendee-survey-summary/

0
3
5

Steven Rostedt

Happy New Year to the new force of social media!
0
0
5

Steven Rostedt

Continuing my Rust Rants :-)

It’s unfortunate that move is a keyword. As I write my little programs, I found that that’s a common function name I use. Now I need to come up with something else. adjust ?

4
0
0

Steven Rostedt

There’s gotta be a better way…

use std::env;
use std::path::Path;

fn usage(arg: &String) {
    let path = Path::new(arg);

    println!("usage: {} a b", path.file_name().unwrap().to_str().unwrap());
}

fn main() {
    let args = env::args();

    if args.len() < 3 {
        usage(&args.collect::<Vec<String>>()[0]);
    }
}
0
0
1

Steven Rostedt

Using the holiday break to learn Rust, I'm getting frustrated with Cargo. I mean, with C, I have a bunch of small programs that I use. But it seems that with Rust, to do the same, I have to make each one into a separate project, which I find overkill. Is there a easy way to make 100 little programs without making a 100 little projects???
0
2
6

Steven Rostedt

That was fun. Added two more HDs to my workstation, but accidentally unplugged the power of one of the existing HDs. Thought the new HDs caused my existing md-raid1 to get screwy, and I had to re-add to the existing array as it was down a drive. I accidentally picked my external backup drive (blowing away all my backups). When I finally noticed, I shutdown the machine, plugging in the HD and on booting up, it picked the HD that was powered off as the main drive for the raid1! I spent a good half hour fixing all this. 😛
0
0
1

Steven Rostedt

With 256G of RAM, should I even bother with adding swap?

0
0
1
I'm having way too much fun with my new server and having hot swap hard drives.
0
0
1
I have to say, the people at TechSupplyDirect are really eager to help out. Just got a call about my new Dell Server asking me if there's anything they can do to help me out, and if I have any issues, feel free to call them.
0
0
0
I was hoping to post this when we had had next year's venue locked down, but we are still not there yet. Anyway, Thanks for all the krill! https://lpc.events/blog/2022/index.php/2022/12/03/thats-a-wrap-thanks-everyone-for-linux-plumbers-2022/
0
8
12
My new server just came in today. I need to transfer the data from the old server to the new. This is going to be fun. I need to remove one of my old RAID HDs install it in the new server, get it working. Shutdown my VMs, transfer them to the new machine, and try to get them working there.

And I really have no idea what I'm doing.
1
0
2
Fun:
# echo 1 > /sys/kernel/tracing/options/func_stack_trace
# echo function > /sys/kernel/tracing/current_tracer
# time ./hackbench 5
(still waiting)
0
0
0
Show older