[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Archived threads in /g/ - Technology - 4388. page

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

File: Ccleaner_logo.png (56KB, 300x300px) Image search: [Google]
Ccleaner_logo.png
56KB, 300x300px
ITT: Must have software for Windows users
96 posts and 17 images submitted.
>>
>>58932000
/thread
>>
File: 1486386802373.jpg (161KB, 1446x1462px) Image search: [Google]
1486386802373.jpg
161KB, 1446x1462px
>>58932007
kek
>>
7zip, RarZilla, MBAM

File: Python_logo.png (76KB, 1890x800px) Image search: [Google]
Python_logo.png
76KB, 1890x800px
What is the cutest programming language?
51 posts and 14 images submitted.
>>
python
>>
File: renpy_logo.png (60KB, 200x307px) Image search: [Google]
renpy_logo.png
60KB, 200x307px
python
>>
>>58931561
>>58931575
>>58931619
me

File: media.jpg (114KB, 1900x855px) Image search: [Google]
media.jpg
114KB, 1900x855px
Uneducated pleb here.

Why would you need a managed switch in a business? What is wrong with just plugging shit in and hope it works?

It seems like IT professionals like to create work for themselves to have a purpose.
39 posts and 5 images submitted.
>>
>>58930984
you're not thinking in large enough terms, when you get into the hundreds and thousands of computers and printers, all interconnected with a server there's just too much for unmanaged switches to handle and too much at stake for a plug it in and hope it works approach
>>
>>58930984
>Why would you need a managed switch in a business? What is wrong with just plugging shit in and hope it works?
Because it's a huge hassle when shit doesn't work.

Managed switch allow automatic configuration and organisation.
>>
why do we need car mechanics? can't we just hop in and hope it never breaks?

why do we need doctors? can't we just live and hope nothing goes wrong?

/g/, do people really use LaTeX in [this current year]?

I get it makes equations and shit prettier, but using it to write TEXT is horrific in comparison to MS Word or the likes. Do people write their works in MS Word and THEN copy it into a latex document? Is that how it is?

I need to make sense of the world.
30 posts and 3 images submitted.
>>
You write your text in a text editor. That's what they are made for. LaTeX is only for turning the finished text into a pretty-looking .pdf file.
>>
>>58929481
I use LaTeX for longer documents, yes.

What specifically do you find horrific about it?
>>
>>58929534
Not OP and a LaTeX user but the amount of packages you need to load in to make it usable isn't great. Syntax is hit and miss.

File: RichardStallman.jpg (335KB, 1194x1684px) Image search: [Google]
RichardStallman.jpg
335KB, 1194x1684px
Post your love for Stallman /g/
29 posts and 9 images submitted.
>>
>>58929325
http://rms.sexy/

Pick one, and only one.
>>
Stallman gives definite statements in indefinite times.
>>
>>58929325
where to cop?

File: mituandgril.jpg (62KB, 415x255px) Image search: [Google]
mituandgril.jpg
62KB, 415x255px
Love Edition

In /csg/ we discuss the cheap shit you see on Gearbest, AliExpress, Banggood, eBay and similar sites.

>IRC channel
#/csg/ on irc.rizon.net

>Discord link
https://discord.gg/zP789wR

>Chink Shit Randomiser
http://chinkshit.xyz/random/

>Chink Shit Wiki:
https://wiki.installgentoo.com/index.php/Chink_shit_general

>Chink Shit Infographic v1.4
https://qt.vidyagam.es/IcDmsJb.jpg

>Chink Shit Infographic v2.0 "Still Unfinished Edition"
http://chinkshit.xyz/infographic.pdf

>News
• Anon posts footage of viofo A118C dashcam at night >>58916753
• Anon looks for VR glasses >>58917155
• RegularOP reviews the Motospeed V40 mouse, "pleasantly surprised" >>58918131, >>58920606
• Anon rolls the dice on a chink scooter windshield >>58918661
• Anon thinks he got chink'd >>58920479
• Anon gets himself a strap for his fitbit >>58920603
• BM-800 mod gets posted again >>58921081
• Another anon gets chink'd >>58921846
• Xiaomi releases a phone with female repellent >>58922451
• Get a pepe badge to mark yourself as a pariah >>58923145
• If you need an insemination tool look no further >>58923323
• Anon buys from the enemy >>58924345
• Anon receives silver vine sticks for his cat and 2A fast charge cables >>58925936
• Anon posts chink phone camera comparison photos >>58926561, >>58926706, >>58926765
• Anon wonders if he's getting chink'd >>58926739

Previous thread: >>58916173
317 posts and 63 images submitted.
>>
>>58928150
first for shit thread
>>
>>58928150
>Xiaomi releases a phone with female repellent >>58922451
I laffed.
>>
unban zambz

File: image.jpg (7KB, 275x183px) Image search: [Google]
image.jpg
7KB, 275x183px
What can Trump do to improve Cyber security?
156 posts and 32 images submitted.
>>
>>58927560
Resign.
>>
kill 4chan/le reddit/la facebook
>>
>>58927563
this

File: Screenshot_20170213-062256.png (267KB, 1080x1920px) Image search: [Google]
Screenshot_20170213-062256.png
267KB, 1080x1920px
What is /g/ waiting on?
79 posts and 24 images submitted.
>>
>>58927553
2 32 gig rams btw, did not notice it was missing
>>
Someone to end my life
>>
>>58927553
AMD Ryzen

File: tannenbaum-linus.jpg (104KB, 1000x750px) Image search: [Google]
tannenbaum-linus.jpg
104KB, 1000x750px
Inspired by the bunch of fucktards yesterday who knew nothing about device drivers, I decided to make this thread explaining why microkernels that run drivers in userspace is a meme and needs to die.

Myth 1: Running a driver as a normal user-space process is safer and doesn't crash the system.

This claim is based on a number of misunderstandings. While it is true that protection faults (aka dereferencing a NULL pointer) in kernel space will crash the kernel and cause a kernel panic and will only kill the user-space process in user-space, this issue is minimal.

There are two situations I'd like to address here, MMIO and DMA.

For MMIO, IO devices have on-board memory regions called BARs that are mapped into IO address space by the BIOS on system boot in a process called bus enumeration. This allows the CPU to read and write to memory addresses, and these read and writes will be forwarded to the IO device itself. In other words, this is how the CPU is able to read and write registers onboard the device.

Running drivers in user-space would mean exposing physical addresses to user-space. With no additional form of protection, a bad or malicious driver could potentially read and write from arbitrary locations in RAM including where the kernel resides. It would be able to not only crash the system, but breaking out of user-space isolation, meaning that the separation of kernel-space and user-space is completely void.

1 / 4
204 posts and 9 images submitted.
>>
>>58927341
You might argue that the kernel could provide some form of protection against this, for example offering an API that provides the physical memory regions that are valid for the device alone. The issue, however, is that where in memory device are mapped is a completely arbitrary process and done solely at the discression of the BIOS. In other words, you'd end up with an extremely bloated API that does a bunch of redundant checking in order not to expose physical address space to user-space. This would violate the very premise for running a microkernel in itself, not to mention that you'd be exporting a bunch of functionality such as pinning pages, requesting DMA buffers at certain ranges with such and such alignment, to user-space while still having to do all the checks in kernel. If you think syscalls are a bad idea and very monolithic, imagine this monstrosity of an API.

Of course, this only addresses the issue of a driver having access to physical address space. Then there's also the issue of DMA and the device itself. When a driver does DMA, it typically requests the kernel for a continuous memory region which the device is able to reach (some devices, such as Nvidia GPUs only have 30 address bits, meaning that they can't address the entire 64-bit address space). The driver then passes the address of this range to the device (writing it into a register using MMIO) and the device will then either read or write directly to RAM without involving the CPU. In other words, Direct Memory Access (DMA).

2 / 4
>>
>>58927351
Myth 2: IOMMUs solve everything

The problem though, is that the driver can pass along ANY physical address and make the device read or write into arbitrary memory locations (again, for example where the kernel resides). Of course, you'd might be thinking right now that this is where IOMMUs come in, and you're quite right.

In addition to eliminating the need for bounce buffers (the case mentioned above where the Nvidia GPU need to address something above 30-bit address), IOMMU can also provide address isolation by grouping devices into so-called domains. This prevents a driver from flushing data into random physical addresses. HOWEVER, the problem again is that setting these up are usually the task of the device driver. Exposing IOMMU access to user-space is a bad idea, so you'd end up incorporating this into the horrendously bloated API mentioned above.

This of course assumes that there is an IOMMU available in the first case, something architectures other than x86 usually don't have. There's also the issue with PCIe P2P, enabling the IOMMU means that every TLP (aka memory operation) is forwarded to the root complex instead of just taking the shortest path. A network card reading from a disk would experience a serious performance degradation. There is stuff like ATS but they are highly vendor specific and an AMD implementation of ATS is not respected by Intel's VT-d for example. In additon, only a minority of devices actually support ATS. Nvidia GPUs certainly don't.

3 / 4
>>
>>58927356
Myth 3: The performance penalty of running in user-space is negligible

As I mentioned above, P2P performance is kill if you use an IOMMU. However, the biggest performance killer is the cost of context switch.

First of all, running in user-space means that your driver is subject to the scheduler and in risk of having it's memory swapped out. Of course, you could solve this by giving higher priorities to the driver as well as pinning its memory in RAM, but then you again have the situation where there is no real separation between user-space and kernel-space. The Linux kernel also runs in virtual address space and its memory is just always part of the first 1 GB of memory and protected using the hardware page protections. So in effect you blur out the differences between kernel-space and user-space and you gain none of the "benefits" of running in user-space.

The real issue here, however, is that you'd need some sort of mechanism to disable interrupts (and thus preemption) from user-space, because sometimes the device driver might do something that requires atomicity and can't be interrupted by the scheduler. So add this functionality to the already bloated driver API and in addition further blur out the hard separation between kernel-space and user-space.

Secondly, there's also the issue of device initiated interrupts. Imagine a Gigabit ethernet network controller generating an interrupt for every received packet. Normally, interrupt routines are short and do little stuff. For user-space drivers, however, you'd need to context switch back into user-space and then run some routine in user-space while at the same time providing deadline guarantees and blocking guarantees.

4 / 4

File: iphone_se_review_02_thumb800.jpg (18KB, 800x450px) Image search: [Google]
iphone_se_review_02_thumb800.jpg
18KB, 800x450px
Is there a better phone?
40 posts and 10 images submitted.
>>
literally just bought one today. it finally dropped enough in price to fit my rule of never paying more than $300 for a phone.
>>
Yes, the Smartisan M1L.
>>
>>58927331

Huawei P8 Lite

what is the best torrent client for linux?
58 posts and 7 images submitted.
>>
Transmission
>>
Deluge, Transmission or rtorrent.
>>
"why should I pay for other people's hard work I will just get it for free" freetard ideology... Nothing to do with freedom, everything to do with gibsmedat

File: 1486956543805.jpg (94KB, 1000x647px) Image search: [Google]
1486956543805.jpg
94KB, 1000x647px
What does /g/ think of GNOME 3?
56 posts and 11 images submitted.
>>
>>58926002
UNIX/Linux filesystem structure is outdated as fuck
>>
>>58926002
I like its design but I left it when I accepted that I could do the whole workspace-centric DE thing with basically any other environment, using less resources.
>>
File: 1485929424397.jpg (33KB, 506x600px) Image search: [Google]
1485929424397.jpg
33KB, 506x600px
>>58926002
Bloated, no options, wasting space with thicc top bar, inane depediences (systemd).

File: 1481342958205.png (141KB, 502x502px) Image search: [Google]
1481342958205.png
141KB, 502x502px
>Windows Desktop
>Linux Laptop
>Android Phone
This is the best combination.
57 posts and 10 images submitted.
>>
>>58925594
/thread
>>
I think you mean
>windows desktop
>windows laptop/tablet
>linux server
>android phone
>>
>linux everything
This is literally the best

/thread

File: ubuntu-phone.jpg (35KB, 440x269px) Image search: [Google]
ubuntu-phone.jpg
35KB, 440x269px
When will the year of the Linux desktop be? My money is on 2020.

What was your year of the Linux desktop? Mine was 2016.
106 posts and 9 images submitted.
>>
>>58925471
When it'll be able to run proper, industry standard software without the need of 3rd party garbage, also when it won't require up to 1h to fix something that can be fixed on Windows/macOS in under a minute.
tl;dr: never
>>
>>58925492
>>58925540

Windows has been beaten in the ML space and macOS isn't even on the radar. When ML comes to consumers, Windows will die.
>>
>>58925540
>use linux
>search for solution
>find it immediately

>use windows
>search for solution
>have to go through a lot of threads from 2005 only to find they never fixed their problem or the classic "thanks guy i fixed it you can close the thread now"

File: arch-linux-logo_400x400.png (103KB, 400x400px) Image search: [Google]
arch-linux-logo_400x400.png
103KB, 400x400px
Is arch linux a meme?

I just installed it for the first time, and I feel like it's a waste of time.

Should I go back to Ubuntu now?
41 posts and 7 images submitted.
>>
Mac OSX
>>
>>58924203
name checks out.
>>58924198
That time isn't wasted unless you go back to ubangoo my man. You did get half an OS working on your own, try it for a month. I liked the arch base but there's just something comfier about apt
>>
File: 1460518646960.png (55KB, 1301x326px) Image search: [Google]
1460518646960.png
55KB, 1301x326px
>>58924198
As you can see it won't work OOTB, which can help you to get used to the Unix learning curve. Ubuntu is fine too.

Pages: [First page] [Previous page] [4378] [4379] [4380] [4381] [4382] [4383] [4384] [4385] [4386] [4387] [4388] [4389] [4390] [4391] [4392] [4393] [4394] [4395] [4396] [4397] [4398] [Next page] [Last page]

[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.