Учусь в европах этих ваших, первокур, тяжко с языком особенно Ничего не прошу, просто сажусь готовиться к файналу сессия по компьютерной архитектуре, буду бампать своими конспектами, не знаю, нахуя, может, чтобы хоть каплю не чувствовать себя одиноким, ну или чтобы знающий анон мог указать на неточность, похуй-нахуй, тред иди
Classes of computers ( -Personal Mobile Device(smart phones, tablet, etc.) emphasis on energy efficiency and real-time; -Desktop Computing, emphasis on price performance; -Servers, emphasis on availability, scalability, throughput; -Cluster/Warehouse Scale Computer(Used for “Software as a Service”), (Emphasis on availability), (sub-class: supercomputers, emphasis: floating-point performance and fast internal networks); -Embedded Computer, emphasis on price, robustness (critical mission/space/nuclear/etc.); )
Problem Solution Stack ( Problem, Algorithm, Data Structure, User Programs, System Programs, Architecture/ISA(Industry Standard Architecture), Microarchitecture, Circuits, Electrons; )
Architecture vs Microarchitecture( -Architecture: Programmer’s view of computer, defined by instructions; -Microarchitecture: How to implement an architecture in hardware; )
The Von Neumann Architecture( -Aka stored program computer. It has to key properties: --Stored program (Instructions stored in a linear memory array (directly addressable), memory is unified between instructions and data (The interpretation of a stored value depends on the control signals)); --Sequential instruction processing (One instruction processed (fetched, executed, and completed) at a time, Program counter (instruction pointer) identifies the current instruction, Program counter is advanced sequentially except for control transfer instructions); )
Overall Structure( -Control Unit (It is a core of the sequencing of operations, picks the new operations to be executed, decodes it, coordinates its execution); -Arithmetic and Logic Unit (It is a core of computation, Performs arithmetic, logic and shift operations, all other operations are combinations of these basic operations, Works on numbers in base 2); -Registers (Are the places, where we put the data we need for the actual execution, Limited in size and very fast to access); -Bus (The interconnection between the different pieces) -Main Memory (Addressed directly sometimes said “randomly” (RAM), Fast access (but not as registers), Volatile structure) -Disk Storage (Permanent Storage) (Slower to access, Sequential in accessing nature, Larger capacity) )
(CPU) < - > (Cache1(A faster memory unit, but a smaller storage capacity)) < - > (Cache2) < - … - > (Main System Memory(A slower memory unit, but a larger storage capacity)) < - > (Permanent Storage Devices (RAM)) < - > (Remote Storage Devices (SSD Disk)) Some hardware architectures allow a direct communication to main memory, bypassing some caches.
Memory Evolution( -DRAM (Capacity in kibibits) (In recent years, the rate has slowed down and is somewhat closer to doubling every two years to three years) -Processor (2x in speed every 1.5 years) -Disk (capacity 2x every 1 year))
A Northbridge / Southbridge Hardware Layout( Northbridge (chipset) controls access to memory units; Southbridge (chipset) to provide communication with I/O devices; )
Тут из интернета скопипиздил, не особо понял, то, что профессор имел в виду, в учебнике тоже нет
Memory wall( -Processor performance much faster then memory memory performance; -If memory latency become insufficient to provide processors with enough instructions and data to continue computation, processors will effectively always be stalled waiting on memory. The trend of placing more and more cores on chip exacerbates the situation, since each core enjoys a relatively narrower channel to shared memory resources; -We can use caches to improve that; )
>>233721453 Так мои, в чём проблема? >>233721478 Это из презентации скриншот, профф, который туториалы ведёт сам такие схемы делает пикрил, не спрашивал >>233721568 ?
>>233721670 Охуенный по информативности пик, оказывается кресты это хай лвл а ассемблеры с машиными кодами низкое програмирование. Кто этого не знал то блять? Эхх как же хочется освоить машинный код и написать свою примитивную ОС с нуля
>>233720727 (OP) Годно ОП. Жаль что у меня постоянное чувство тревоги, 9 лет не выхожу из дома нет друзей, нет денег..так бы тоже лампово задротил какую то профеесию. Учился бы стройке или програмированию но увы нет условий
>>233721830 Ой, сорян, я неполный слайд кинул, энивей, это первая лекция >>233721962 Там же написано, если ты сторонние библиотеки используешь к уже переведённому в машинный язык коду >>233722139 При чём тут диплом? Это первая лекция
>>233722139 В моих европах вступительный экзамен по математике заключается в заданиях уровня "решите квадратичное уравнение", "чему равен натуральный логарифм единицы" и "посмотрите на график и скажите, убывает он или возрастает на таком-то участке".
>>233723645 Я сказал, что то объяснение, которое профессор дал мне было непонятно, поэтому я полез в интернет и скопировал определение оттуда в конспект
Instruction Set Architecture( -Interface between hardware and low-level software; -Standardizes instructions, machine language, bit patterns, etc. -Advantage: different implementations of the same architecture; -Disadvantage: sometimes prevents using new innovations; )
Organization of Computers( -Computational Devices (one or many CPU cores, GPU, DSP(Digital Signal Processor), SMP(Symmetric MultiProcessing)); -Memory hierarchy(hardware caches, NUMA(Non-Uniform Memory Access), Memory Controllers (Registers are faster type of memory)); -I/O devices with memory-mapped registers; -Interconnect bus fabric that connects all computational and I/O devices to the system memory via regular read and write requests; )
Latency(Execution time: -Elapsed Time (Counts Everything (disk and memory access, I/O, etc.), (A useful number, but often not good for comparison purposes)) -CPU time (Doesn’t count such stuff): --user CPU time --system CPU time
>>233720727 (OP) Повезло тебе, ОП, не проебись. Посматриваю временами лекции из зарубежных университетов, преподы живо и с энтузиазмом, с хорошими примерами, основываясь на своем опыте, доносят информацию. Сидишь кайфуешь, с удовольствием смотришь. Потом приходишь в свою шарагу на пары и слушаешь пердежь совковых престарелых дедов которым все нахуй уже не всралось, листают свои слайдики 20-летней давности и такое уныние накатывает, пиздос просто.
>>233726397 Спасибо, анон По поводу преподов, тут палка о двух концах, есть очень хорошие, реально разбирающиеся, но, вот, например, наши туториалы по дискретной математике ведёт то ли индус то ли пакистанец какой-то, не то что бы он был плохим специалистом, просто порой сложно понимать, что он говорит.
>>233726397 В моей шараге старым совковым преподам было ой как не похуй на своё дело, всегда более-менее заинтересованно рассказывали, обновляли документную базу на актуальную, и порой травили истории
>>233726397 Он уже проебался, рыночек програмистов давно лопнул. У него только микро надежда что он в Европе. Если в пидорашку приедет обратно то может и возьмут джуном за 15к.
Тут пока довольно очевидные вещи идут, но пишу немножко, вдруг пригодится Response Time and Throughput are related sometimes: (Replacing a processor with a faster yields both improves of response time and throughput BUT Adding a second processor, improves the throughput but not the response time);
Performance(X) = 1 / ExecutionTime(X); if X is n times faster than Y, then Performance(X) / Performance(Y) = n;
>>233727682 Multiplication takes more time than addition, floating point operations take longer than integer ones, accessing memory takes more time, than accessing registers, in pipeline processors multiple instruction may be executed at the same time;
>Итак, садимся, достаём конспекты, записываем первую тему: общая структура вычислительной машины... >РЯЯЯЯ СОВКОВАЯ ХУЙНЯ, ПИЗДЕЦ, МЕТОДИЧКИ ИЗ СЕМИДЕСЯТЫХ, ЧЕМУ ВООБЩЕ ЭТИ ДЕДЫ МОГУТ МЕНЯ НАУЧИТЬ >So, welcome everyone, please sit down, our first topic will be the overall structure of a computer... >ВОТ ТЕПЕРЬ ЗАЕБИСЬ, УВАЖАЮ, МОЁ ПОЧТЕНИЕ!
(High-Level Program (Independent of processor architecture)) -(Compiler)> (Assembly Language Program (Dependent of processor architecture)) -(Assembler)> (Machine Language Code) (External Libraries) -(Linker)> (Machine Language Program) -(Loader)> (Main Memory)