Software Engineer, Linux Kernel
Systems, C++ and performancePosted 5 days agofrom SpaceX's own hiring page
- Work type
- On-siteSan Francisco Bay Area, Seattle
- Experience
- 1+ years
- Pay
- $140k–225k a year
- Posted
- 5 days ago
Skills it mentions
Nice to have
Add your skills to see which ones you have.
About the job
SpaceX was founded under the belief that a future where humanity is out exploring the stars is fundamentally more exciting than one where we are not. Today SpaceX is actively developing the technologies to make this possible, with the ultimate goal of enabling human life on Mars.
SpaceXSI is building Super Intelligence to help humanity understand the universe. Our teams are building the full Super Intelligence stack: from our Colossus supercomputers, to Grok models, to our suite of applications, including Grok Bot, Grok Build, Grok Imagine, Grok Voice, and X. We're creating a powerful flywheel where more compute trains better models, better models power more useful products, and what we learn from people using those products shapes what we build next.
SOFTWARE ENGINEER, LINUX KERNEL
At SpaceXSI, we design, build, and operate the largest AI supercomputers in the world, from the ground up. As a member of the Platform Core team, you will be responsible for the lowest layers of the software stack on the devices setting the pace for how fast we can push the frontier of AI. Our team’s software interfaces directly with the core hardware of the supercomputer and its network fabric. Our mission is to expose the full capability of that hardware — limited only by physics — to the rest of the stack, all while retaining the smallest, most robust footprint possible.
RESPONSIBILITIES:
- Build and maintain the lean, high-reliability Linux-based operating system that underpins our supercomputer network fabric
- Write (or rewrite) high-performance device drivers to extract the maximum physical capability from our network and compute hardware
- Manage deployment, operation, and debugging of our platform in production, including: rigorous resolution and root-causing of anomalies to ensure the system is constantly improving in reliability and developing and constantly improving our tools for observability and configuration management
- Collaborate with our hardware teams and external partners to design the next generation of supercomputer hardware – and then bring up our OS and software stack on it
BASIC QUALIFICATIONS:
- 1+ years of hands-on systems programming experience in C or C++
PREFERRED SKILLS AND EXPERIENCE:
- Strong operating systems fundamentals (scheduling, memory management, I/O) — you must be able to articulate in extreme detail how a computer works, from the hardware all the way up to high-level applications
- Understanding of computer networking, both in the host (OS stack) as well as common network devices like switches and routers
- Excellent written and verbal communication skills
- Deep knowledge of the Linux kernel and its networking stack — transferable experience with another production-grade kernel is okay, too!
- Proficiency with debugging tools spanning kernel, network, and userspace (e.g., ftrace, perf, Wireshark/tcpdump, eBPF, gdb, and more)
- Experience bringing up new hardware from scratch — you have flashed bare-metal software on a microcontroller with JTAG, or bootstrapped a Linux kernel and rootfs on new hardware
- Demonstrated track record of developing and optimizing device/peripheral drivers — ideally for high-speed interfaces, or with advanced considerations like DMA and cache coherency
- Understanding of major peripheral hardware interface standards (Ethernet, PCIe, I2C, SPI, etc.) — you can critically review a schematic, and debug these interfaces if needed
- Experience with product security, OS/system hardening, and secure boot schemes
COMPENSATION AND BENEFITS:
$140,000 - $225,000 USD
Your actual level and base salary will be determined on a case-by-case basis and may vary based on the following considerations: job-related knowledge and skills, education, and experience.
Base salary is just one part of your total rewards package at SpaceX. You may also be eligible for long-term incentives, in the form of company stock or long-term cash awards, as well as potential discretionary bonuses and the ability to purchase additional stock at a discount through an Employee Stock Purchase Plan. You will also receive access to comprehensive medical, vision, and dental coverage, access to a 401(k) retirement plan, short and long-term disability insurance, life insurance, paid parental leave, and various other discounts and perks. You may also accrue 3 weeks of paid vacation and will be eligible for 10 or more paid holidays per year. Employees accrue paid sick leave pursuant to Company policy which satisfies or exceeds the accrual, carryover, and use requirements of the law.
ITAR REQUIREMENTS:
- To conform to U.S. Government export regulations, applicant must be a (i) U.S. citizen or national, (ii) U.S. lawful, permanent resident (aka green card holder), (iii) Refugee under 8 U.S.C. § 1157, or (iv) Asylee under 8 U.S.C. § 1158, or be eligible to obtain the required authorizations from the U.S. Department of State. Learn more about the ITAR here.
SpaceX is an Equal Opportunity Employer; employment with SpaceX is governed on the basis of merit, competence and qualifications and will not be influenced in any manner by race, color, religion, gender, national origin/ethnicity, veteran status, disability status, age, sexual orientation, gender identity, marital status, mental or physical disability or any other legally protected status.
Applicants wishing to view a copy of SpaceX’s Affirmative Action Plan for veterans and individuals with disabilities, or applicants requiring reasonable accommodation to the application/interview process should reach out to EEOCompliance@spacex.com.
Interested?Software Engineer, Linux Kernel at SpaceX
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Linux, Networking, C++ and 1 more
Interview questions for this job
For the skills the ad mentions: Linux, Networking, C++ and Embedded systems.
What is swap space?Linux
Swap space is a dedicated area on a storage device (such as a hard drive or SSD) that functions as an extension of a computer's physical memory (RAM). It is used by the operating system to temporarily store data that does not fit into RAM or when the system experiences memory pressure due to high RAM utilization.
When the operating system needs more memory than is physically available, it can move the least recently used or less important data (called pages) from RAM to the swap space. This process is called "paging" or "swapping out." By doing so, it frees up space in RAM for more critical or frequently accessed data. If the swapped-out data is required again, the operating system will move it back into RAM, possibly swapping out other data in the process. This is called "swapping in."
Swap space can be implemented as a dedicated swap partition or a swap file. In Linux, you can manage swap space using commands such as swapon, swapoff, and mkswap. To check the current swap space usage on a Linux system, you can use the free or swapon -s commands.
From Tech Vault (Apache 2.0)
What is the difference between 127.0.0.1 and localhost?NetworkingBasic
Well, the most likely difference is that you still have to do an actual lookup of localhost somewhere.
If you use
127.0.0.1, then (intelligent) software will just turn that directly into an IP address and use it. Some implementations ofgethostbynamewill detect the dotted format (and presumably the equivalent IPv6 format) and not do a lookup at all.Otherwise, the name has to be resolved. And there's no guarantee that your hosts file will actually be used for that resolution (first, or at all) so
localhostmay become a totally different IP address.By that I mean that, on some systems, a local hosts file can be bypassed. The
host.conffile controls this on Linux (and many other Unices).If you use a Unix domain socket it'll be slightly faster than using TCP/IP (because of the less overhead you have). Windows is using TCP/IP as a default, whereas Linux tries to use a Unix Domain Socket if you choose localhost and TCP/IP if you take
127.0.0.1.Useful resources:
From Test your Sysadmin Skills (MIT)
What are the basic rules and idioms for operator overloading?C++
Common Operators to Overload
Most of the work in overloading operators is boilerplate code. That is little wonder, since operators are merely syntactic sugar. Their actual work could be done by (and often is forwarded to) plain functions. But it is important that you get this boilerplate code right. If you fail, either your operator’s code won’t compile, your users’ code won’t compile, or your users’ code will behave surprisingly.
Assignment Operator
There's a lot to be said about assignment. However, most of it has already been said in GMan's famous Copy-And-Swap FAQ, so I'll skip most of it here, only listing the perfect assignment operator for reference:
X& X::operator=(X rhs) { swap(rhs); return *this; }Stream Insertion and Extraction
Disclaimer For overloading <<and>>as bitwise shift operators, skip to the section Binary Arithmetic Operators.The bitwise shift operators
<<and>>, although still used in hardware interfacing for the bit-manipulation functions they inherit from C, have become more prevalent as overloaded stream input and output operators in most applications.The stream operators, among the most commonly overloaded operators, are binary infix operators for which the syntax does not specify any restriction on whether they should be members or non-members. However, their left operands are streams from the standard library, and you cannot add member functions to those1, so you need to implement these operators for your own types as non-member functions2. The canonical forms of the two are these:
std::ostream& operator<<(std::ostream& os, const T& obj) { // Write obj to stream return os; } std::istream& operator>>(std::istream& is, T& obj) { // Read obj from stream if( /* no valid object of T found in stream */ ) is.setstate(std::ios::failbit); return is; }When implementing
operator>>, manually setting the stream’s state is only necessary when the reading itself succeeded, but the result is not what would be expected.1 Note that some of the
<<overloads of the standard library are implemented as member functions, and some as free functions. Only the locale-dependent functions are member functions, such asoperator<<(long).2 According to the rules of thumb, the insertion/extraction operators should be member functions because they modify the left operand. However, we cannot follow the rules of thumb here.
Function Call Operator
The function call operator, used to create function objects, also known as functors, must be defined as a member function, so it always has the implicit
thisargument of member functions. Other than this, it can be overloaded to take any number of additional arguments, including zero.Here's an example of the syntax:
struct X { // Overloaded call operator int operator()(const std::string& y) { return /* ... */; } };Usage:
X f; int a = f("hello");Throughout the C++ standard library, function objects are always copied. Your own function objects should therefore be cheap to copy. If a function object absolutely needs to use data which is expensive to copy, it is better to store that data elsewhere and have the function object refer to it.
Comparison Operators
Read the rest at the sourceFrom Stack Overflow: asked by sbi, answered by sbi (CC BY-SA 4.0)
What is a boot loader, and how would I develop one?Embedded systems
A bootloader is a program that runs in the microcontroller to be programmed. It receives new program information externally via some communication means and writes that information to the program memory of the processor.
This is in contrast with the normal way of getting the program into the microcontroller, which is via special hardware built into the micro for that purpose. On PICs, this is a SPI-like interface. If I remember right, AVRs use Jtag, or at least some of them do. Either way, this requires some external hardware that wiggles the programming pins just right to write the information into the program memory. The HEX file describing the program memory contents originates on a general purpose computer, so this hardware connects to the computer on one side and the special programming pins of the micro on the other. My company makes PIC programmers among other things as a sideline, so I am quite familiar with this process on PICs.
The important point of external programming via specialized hardware is that it works regardless of the existing contents of program memory. Microcontrollers start out with program memory erased or in a unknown state, so external programming is the only means to get the first program into a micro.
If you are sure about the program you want to load into your product and your volumes are high enough, you can have the manufacturer or a distributor program chips for you. The chip gets soldered to the board like any other chip, and the unit is ready to go. This can be appropriate for something like a toy, for example. Once the firmware is done, it's pretty much done, and it will be produced in large volumes.
If your volumes are lower, or more importantly, you expect ongoing firmware development and bug fixes, you don't want to buy pre-programmed chips. In this case blank chips are mounted on the board and the firmware has to get loaded onto the chip as part of the production process. In that case the hardware programming lines have to be made available somehow. This can be via a explicit connector, or pogo pin pads if you're willing to create a production test fixture. Often such products have to be tested and maybe calibrated anyway, so the additional cost of writing the program to the processor is usually minimal. Sometimes when small processors are used a special production test firmware is first loaded into the processor. This is used to facilitate testing and calibrating the unit, then the real firmware is loaded after the hardware is known to be good. In this case there are some circuit design considerations to allow access to the programming lines sufficiently for the programming process to work but to also not inconvenience the circuit too much. For more details on this, see my in-circuit programming writeup.
So far so good, and no bootloader is needed. However, consider a product with relatively complex firmware that you want field upgradable or even allow the end customer to upgrade. You can't expect the end customer to have a programmer gadget, or know how to use one properly even if you provided one. Actually one of my customers does this. If you buy their special field customizing option, you get one of my programmers with the product.
However, in most cases you just want the customer to run a program on a PC and have the firmware magically updated. This is where a bootloader comes in, especially if your product already has a communications port that can easily interface with a PC, like USB, RS-232, or ethernet. The customer runs a PC program which talks to the bootloader already in the micro. This sends the new binary to the bootloader, which writes it to program memory and then causes the new code to be run.
Sounds simple, but it's not, at least not if you want this process to be robust. What if a communication error happens and the new firmware is corrupt by the time it arrives at the bootloader? What if power gets interrupted during the boot process? What if the bootloader has a bug and craps on itself?
Read the rest at the sourceFrom Electrical Engineering Stack Exchange: asked by mina_g, answered by Olin Lathrop (CC BY-SA 3.0)
archive.tgzhas ~30 GB. How do you list content of it and extract only one file?LinuxBasic# list of content tar tf archive.tgz # extract file tar xf archive.tgz filenameUseful resources:
From Test your Sysadmin Skills (MIT)
Why do you want to work for us?Behavioural
Employers want to see that you have a genuine interest in working for them by asking questions like:
- what do you know about our company?
- why do you think you're a good fit for our company?
- why do you want to work for us?
To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.
Show what you've learned about the company throughout the interview.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Software Engineer (C++) - Sensor PipelinesLatitude AI, Remote, San Francisco Bay Area +12 weeks ago
- Staff Software Engineer - Compiler & Spark RuntimeSnowflake, Remote, San Francisco Bay Area +13 weeks ago
- Software Engineer, C++ (Onboard Platform)Applied Intuition, San Francisco Bay Area, on-site4 weeks ago
- Staff Cloud Hypervisor Engineer, ComputeCrusoe, San Francisco Bay Area, on-site4 weeks ago
More like this: C++ and systems jobs in San Francisco Bay Area (50), Jobs in San Francisco Bay Area (9,193) and C++ and systems jobs in the USA (107)




