The algorithm is described in the context of the LY- COS system. The algorithm is, however, of a nature that makes it applicable in general. To the authors knowledge, no prior work has been done in the area of allocating re- sources for hardware while considering the consequences for the combined hardware/software system, although sev- eral approaches [1, 4, 5] for allocating resources for an all- hardware solution have been proposed. However, in our approach the application is partitioned between software and hardware. The fact that parts of the application will still run as software is taken into account in the hardware resource allocation algorithm.
2 The HW resource allocation problem
Software speed-up by hardware/software partitioning is in our approach done by dividing the application into appropriate chunks of computation (Basic Schedul- ing Blocks, BSBs) and then trying out different hard- ware/software mappings of these. This is illustrated in fig- ure 2A where five BSBs are partitioned onto hardware and software. Moving a BSB to hardware will give the BSB a speed-up. This is due to the fact that in software, opera- tions are executed serially whereas the hardware data-path has multiple resources that can exploit the inherent paral- lelism between operations in the BSB.
The hardware is divided into one piece for the data-path resources, i.e. the functional units that execute the opera- tions in the BSBs, and one piece for the controllers, i.e. the implementations of the finite state-machines that control the execution of the BSBs that are placed in hardware.
In our partitioning approach, resources must be allo- cated to the hardware data-path in advance. The remain- ing hardware area is the area left for the controllers of the BSBs actually moved to hardware during partitioning. In this way, the cost of moving a BSB to hardware is only the cost of the corresponding controller. This principle is shown in figure 2B, where the two gray boxes indicate the controllers of BSBs B3 and B4, which are moved to hard- ware by the partitioning algorithm. But allocating the best resources to the hardware data-path is a difficult problem
อัลกอริธึมที่ได้อธิบายไว้ในบริบทของระบบโดยอาการ - ผักกาดหวานได้ อัลกอริธึมที่มีธรรมชาติที่จะทำให้มีผลบังคับใช้โดยทั่วไป เพื่อความรู้ผู้เขียนที่ไม่มีงานก่อนได้รับการทำในพื้นที่ที่การจัดสรรอีกครั้งแหล่งสำหรับฮาร์ดแวร์ในขณะที่การพิจารณาผลของระบบรวมฮาร์ดแวร์/ซอฟต์แวร์ที่แม้จะ SEV - eral แนวทาง[ 14โซลูชัน 5 ]เพื่อจัดสรรทรัพยากรสำหรับทั้งหมด - ฮาร์ดแวร์ที่ได้รับการเสนอ แต่ถึงอย่างไรก็ตามในแนวทางของเราแอปพลิเคชันที่แบ่งระหว่างฮาร์ดแวร์และซอฟต์แวร์ ความจริงที่ว่าชิ้นส่วนของแอปพลิเคชันนี้จะทำงานเมื่อมีการเปิดตัวซอฟต์แวร์ยังคงเป็นไปในบัญชีฮาร์ดแวร์ในการแก้ปัญหาการจัดสรรการจัดสรรทรัพยากรอัลกอริธึม.
2 ทรัพยากร HW ที่ได้ตอบแทน
ซอฟท์แวร์,ความเร็วโดยฮาร์ดแวร์/ซอฟต์แวร์การแบ่งพาร์ติชั่นอยู่ในของเราวิธีการทำได้โดยแบ่งที่แอปพลิเคชันเข้าไปในที่เหมาะสมหั่นเป็นชิ้นของคำนวณ(พื้นฐาน schedul - ไอเอ็นจีประกันชีวิตช่วงตึก, bsbs )และจากนั้นจึงพยายามออกมาแตกต่างกันหนัก - วอลเลย์บอล/ซอฟต์แวร์การแม็ปของเหล่านี้. โรงแรมแห่งนี้คือตัวอย่างในรูป - ure 2 สถานที่ซึ่งมีการแบ่งห้า bsbs ลงบนฮาร์ดแวร์และซอฟต์แวร์ การย้าย BSB ให้กับฮาร์ดแวร์จะทำให้ BSB :ความเร็วขึ้นมาโรงแรมแห่งนี้คือการที่ความเป็นจริงที่อยู่ในซอฟต์แวร์, Opera - ใช้งานจะถูกดำเนินการแบบอนุกรมโดยข้อมูลฮาร์ดแวร์ - พาธมีหลายทรัพยากรที่สามารถใช้ประโยชน์จากที่มีอยู่ paral - lelism ระหว่างการดำเนินงานใน BSB .
ฮาร์ดแวร์ที่มีแบ่งออกเป็นชิ้นหนึ่งสำหรับข้อมูล - พาธทรัพยากร,เช่นที่เต็มไปด้วยประโยชน์ใช้สอยหน่วยซึ่งจะเรียกใช้, Opera - ใช้งานใน bsbs ,และอีกหนึ่งชิ้นสำหรับคอนโทรลเลอร์,เช่นการปรับใช้งานได้ในแบบจำกัดของรัฐ - เครื่องที่ทำหน้าที่ควบคุมการทำงานของ bsbs ที่จะวางอยู่ที่ใดในฮาร์ดแวร์.
ในแนวทางการแบ่งพาร์ติชั่นทรัพยากรของเราจะต้อง allo - cated ฮาร์ดแวร์ข้อมูล - พาธเป็นการล่วงหน้า บริเวณพื้นที่ฮาร์ดแวร์ยังคงอยู่ - ไอเอ็นจีประกันชีวิตที่จะเป็นบริเวณด้านซ้ายสำหรับคอนโทรลเลอร์ของ bsbs จริงแล้วย้ายไปให้กับฮาร์ดแวร์ในระหว่างการแบ่งพาร์ติชั่น ในลักษณะนี้ค่าใช้จ่ายในการขนย้าย BSB :ให้กับฮาร์ดแวร์เป็นเพียงต้นทุนของตัวควบคุมที่เกี่ยวข้อง หลักการนี้จะแสดงใน 2 b รูปที่ซึ่งทั้งสองกล่องสีเทาจะแสดงคอนโทรลเลอร์ของ bsbs B 3 และ B 4 ที่มีการย้ายไปยังฮาร์ดดิสก์ - วอลเลย์บอลโดยอัลกอริธึมการแบ่งพาร์ติชั่นที่ แต่จัดสรรทรัพยากรที่ดีที่สุดให้กับฮาร์ดแวร์ข้อมูลเส้นทางที่เป็นปัญหาที่ยากมากที่
การแปล กรุณารอสักครู่..
